Struct tf_demo_parser::demo::packet::message::MessagePacket [−][src]
pub struct MessagePacket<'a> {
pub tick: u32,
pub messages: Vec<Message<'a>>,
pub meta: MessagePacketMeta,
}Fields
tick: u32messages: Vec<Message<'a>>meta: MessagePacketMetaTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn encode(
&self,
stream: &mut BitWriteStream<'_, LittleEndian>,
state: &ParserState
) -> Result<()>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for MessagePacket<'a>
impl<'a> !Send for MessagePacket<'a>
impl<'a> !Sync for MessagePacket<'a>
impl<'a> Unpin for MessagePacket<'a>
impl<'a> UnwindSafe for MessagePacket<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more