Struct tf_demo_parser::demo::message::generated::ServerInfoMessage [−][src]
pub struct ServerInfoMessage {Show 16 fields
pub version: u16,
pub server_count: u32,
pub stv: bool,
pub dedicated: bool,
pub max_crc: u32,
pub max_classes: u16,
pub map_hash: [u8; 16],
pub player_count: u8,
pub max_player_count: u8,
pub interval_per_tick: f32,
pub platform: String,
pub game: String,
pub map: String,
pub skybox: String,
pub server_name: String,
pub replay: bool,
}Fields
version: u16server_count: u32stv: booldedicated: boolmax_crc: u32max_classes: u16map_hash: [u8; 16]player_count: u8max_player_count: u8interval_per_tick: f32platform: Stringgame: Stringmap: Stringskybox: Stringserver_name: Stringreplay: boolTrait Implementations
Read the type from stream
The number of bits that will be read or None if the number of bits will change depending on the bit stream Read more
Write the type to stream
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
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 RefUnwindSafe for ServerInfoMessage
impl Send for ServerInfoMessage
impl Sync for ServerInfoMessage
impl Unpin for ServerInfoMessage
impl UnwindSafe for ServerInfoMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn encode(
&Self,
&mut BitWriteStream<'_, LittleEndian>,
&ParserState
) -> Result<(), ParseError>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more