pub struct CMsgClientGamesPlayed {
pub games_played: Vec<GamePlayed>,
pub client_os_type: Option<u32>,
pub cloud_gaming_platform: Option<u32>,
pub recent_reauthentication: Option<bool>,
}Fields§
§games_played: Vec<GamePlayed>§client_os_type: Option<u32>§cloud_gaming_platform: Option<u32>§recent_reauthentication: Option<bool>Implementations§
Source§impl CMsgClientGamesPlayed
impl CMsgClientGamesPlayed
Sourcepub fn client_os_type(&self) -> u32
pub fn client_os_type(&self) -> u32
Returns the value of client_os_type, or the default value if client_os_type is unset.
Sourcepub fn cloud_gaming_platform(&self) -> u32
pub fn cloud_gaming_platform(&self) -> u32
Returns the value of cloud_gaming_platform, or the default value if cloud_gaming_platform is unset.
Sourcepub fn recent_reauthentication(&self) -> bool
pub fn recent_reauthentication(&self) -> bool
Returns the value of recent_reauthentication, or the default value if recent_reauthentication is unset.
Trait Implementations§
Source§impl Clone for CMsgClientGamesPlayed
impl Clone for CMsgClientGamesPlayed
Source§fn clone(&self) -> CMsgClientGamesPlayed
fn clone(&self) -> CMsgClientGamesPlayed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CMsgClientGamesPlayed
impl Debug for CMsgClientGamesPlayed
Source§impl Default for CMsgClientGamesPlayed
impl Default for CMsgClientGamesPlayed
Source§impl Message for CMsgClientGamesPlayed
impl Message for CMsgClientGamesPlayed
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CMsgClientGamesPlayed
impl PartialEq for CMsgClientGamesPlayed
Source§fn eq(&self, other: &CMsgClientGamesPlayed) -> bool
fn eq(&self, other: &CMsgClientGamesPlayed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CMsgClientGamesPlayed
Auto Trait Implementations§
impl Freeze for CMsgClientGamesPlayed
impl RefUnwindSafe for CMsgClientGamesPlayed
impl Send for CMsgClientGamesPlayed
impl Sync for CMsgClientGamesPlayed
impl Unpin for CMsgClientGamesPlayed
impl UnsafeUnpin for CMsgClientGamesPlayed
impl UnwindSafe for CMsgClientGamesPlayed
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