pub struct ServerInfoMessagePart2 {
pub player_slot: 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,
}
Fields§
§player_slot: u8
§max_player_count: u8
§interval_per_tick: f32
§platform: String
§game: String
§map: String
§skybox: String
§server_name: String
Trait Implementations§
Source§impl<'a, _E: Endianness> BitRead<'a, _E> for ServerInfoMessagePart2
impl<'a, _E: Endianness> BitRead<'a, _E> for ServerInfoMessagePart2
Source§impl<'a, _E: Endianness> BitWrite<_E> for ServerInfoMessagePart2
impl<'a, _E: Endianness> BitWrite<_E> for ServerInfoMessagePart2
Auto Trait Implementations§
impl Freeze for ServerInfoMessagePart2
impl RefUnwindSafe for ServerInfoMessagePart2
impl Send for ServerInfoMessagePart2
impl Sync for ServerInfoMessagePart2
impl Unpin for ServerInfoMessagePart2
impl UnwindSafe for ServerInfoMessagePart2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Encode for Twhere
T: BitWrite<LittleEndian>,
impl<T> Encode for Twhere
T: BitWrite<LittleEndian>,
fn encode( &self, stream: &mut BitWriteStream<'_, LittleEndian>, _state: &ParserState, ) -> Result<(), ParseError>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more