pub struct CMsgClientAccountInfo {
pub persona_name: Option<String>,
pub ip_country: Option<String>,
pub count_authed_computers: Option<i32>,
pub account_flags: Option<u32>,
pub steamguard_machine_name_user_chosen: Option<String>,
pub is_phone_verified: Option<bool>,
pub two_factor_state: Option<u32>,
pub is_phone_identifying: Option<bool>,
pub is_phone_needing_reverify: Option<bool>,
}Fields§
§persona_name: Option<String>§ip_country: Option<String>§count_authed_computers: Option<i32>§account_flags: Option<u32>§steamguard_machine_name_user_chosen: Option<String>§is_phone_verified: Option<bool>§two_factor_state: Option<u32>§is_phone_identifying: Option<bool>§is_phone_needing_reverify: Option<bool>Implementations§
Source§impl CMsgClientAccountInfo
impl CMsgClientAccountInfo
Sourcepub fn persona_name(&self) -> &str
pub fn persona_name(&self) -> &str
Returns the value of persona_name, or the default value if persona_name is unset.
Sourcepub fn ip_country(&self) -> &str
pub fn ip_country(&self) -> &str
Returns the value of ip_country, or the default value if ip_country is unset.
Sourcepub fn count_authed_computers(&self) -> i32
pub fn count_authed_computers(&self) -> i32
Returns the value of count_authed_computers, or the default value if count_authed_computers is unset.
Sourcepub fn account_flags(&self) -> u32
pub fn account_flags(&self) -> u32
Returns the value of account_flags, or the default value if account_flags is unset.
Sourcepub fn steamguard_machine_name_user_chosen(&self) -> &str
pub fn steamguard_machine_name_user_chosen(&self) -> &str
Returns the value of steamguard_machine_name_user_chosen, or the default value if steamguard_machine_name_user_chosen is unset.
Sourcepub fn is_phone_verified(&self) -> bool
pub fn is_phone_verified(&self) -> bool
Returns the value of is_phone_verified, or the default value if is_phone_verified is unset.
Sourcepub fn two_factor_state(&self) -> u32
pub fn two_factor_state(&self) -> u32
Returns the value of two_factor_state, or the default value if two_factor_state is unset.
Sourcepub fn is_phone_identifying(&self) -> bool
pub fn is_phone_identifying(&self) -> bool
Returns the value of is_phone_identifying, or the default value if is_phone_identifying is unset.
Sourcepub fn is_phone_needing_reverify(&self) -> bool
pub fn is_phone_needing_reverify(&self) -> bool
Returns the value of is_phone_needing_reverify, or the default value if is_phone_needing_reverify is unset.
Trait Implementations§
Source§impl Clone for CMsgClientAccountInfo
impl Clone for CMsgClientAccountInfo
Source§fn clone(&self) -> CMsgClientAccountInfo
fn clone(&self) -> CMsgClientAccountInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CMsgClientAccountInfo
impl Debug for CMsgClientAccountInfo
Source§impl Default for CMsgClientAccountInfo
impl Default for CMsgClientAccountInfo
impl Eq for CMsgClientAccountInfo
Source§impl Hash for CMsgClientAccountInfo
impl Hash for CMsgClientAccountInfo
Source§impl Message for CMsgClientAccountInfo
impl Message for CMsgClientAccountInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
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,
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,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self.Source§impl PartialEq for CMsgClientAccountInfo
impl PartialEq for CMsgClientAccountInfo
Source§fn eq(&self, other: &CMsgClientAccountInfo) -> bool
fn eq(&self, other: &CMsgClientAccountInfo) -> bool
self and other values to be equal, and is used by ==.