Struct hematite_server::packet::Stat [] [src]

pub struct Stat {
    pub name: String::Clean,
    pub value: Var<i32>::Clean,
}

Fields

name
value

Trait Implementations

impl Protocol for Stat

type Clean = Self

fn proto_len(value: &Stat) -> usize

fn proto_encode(value: &Stat, dst: &mut Write) -> Result<()>

fn proto_decode(src: &mut Read) -> Result<Stat>

Derived Implementations

impl Debug for Stat

fn fmt(&self, __arg_0: &mut Formatter) -> Result