pub struct PlayerInfo {
pub name: String,
pub user_id: UserId,
pub steam_id: String,
pub extra: u32,
pub friends_id: u32,
pub friends_name_bytes: [u8; 32],
pub is_fake_player: u8,
pub is_hl_tv: u8,
pub is_replay: u8,
pub custom_file: [u32; 4],
pub files_downloaded: u32,
pub more_extra: u8,
}Fields§
§name: String§user_id: UserId§steam_id: String§extra: u32§friends_id: u32§friends_name_bytes: [u8; 32]§is_fake_player: u8§is_hl_tv: u8§is_replay: u8§custom_file: [u32; 4]§files_downloaded: u32§more_extra: u8Trait Implementations§
Source§impl<'a, _E: Endianness> BitWrite<_E> for PlayerInfo
impl<'a, _E: Endianness> BitWrite<_E> for PlayerInfo
Source§impl Clone for PlayerInfo
impl Clone for PlayerInfo
Source§fn clone(&self) -> PlayerInfo
fn clone(&self) -> PlayerInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerInfo
impl Debug for PlayerInfo
Source§impl Default for PlayerInfo
impl Default for PlayerInfo
Source§fn default() -> PlayerInfo
fn default() -> PlayerInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlayerInfo
impl RefUnwindSafe for PlayerInfo
impl Send for PlayerInfo
impl Sync for PlayerInfo
impl Unpin for PlayerInfo
impl UnwindSafe for PlayerInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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