Struct hematite_server::packet::play::clientbound::ResourcePackSend [] [src]

pub struct ResourcePackSend {
    pub url: String::Clean,
    pub hash: String::Clean,
}

Fields

url
hash

Trait Implementations

impl Protocol for ResourcePackSend

type Clean = Self

fn proto_len(value: &ResourcePackSend) -> usize

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

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

impl PacketWrite for ResourcePackSend

fn inner_len(&self) -> usize

fn inner_encode(&self, dst: &mut Write) -> Result<()>

fn write(&self, dst: &mut Write) -> Result<()>

Derived Implementations

impl Debug for ResourcePackSend

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