CGcSystemMsgGetAccountDetailsResponse

Struct CGcSystemMsgGetAccountDetailsResponse 

Source
pub struct CGcSystemMsgGetAccountDetailsResponse {
Show 37 fields pub eresult_deprecated: Option<u32>, pub account_name: Option<String>, pub persona_name: Option<String>, pub is_profile_created: Option<bool>, pub is_profile_public: Option<bool>, pub is_inventory_public: Option<bool>, pub is_vac_banned: Option<bool>, pub is_cyber_cafe: Option<bool>, pub is_school_account: Option<bool>, pub is_limited: Option<bool>, pub is_subscribed: Option<bool>, pub package: Option<u32>, pub is_free_trial_account: Option<bool>, pub free_trial_expiration: Option<u32>, pub is_low_violence: Option<bool>, pub is_account_locked_down: Option<bool>, pub is_community_banned: Option<bool>, pub is_trade_banned: Option<bool>, pub trade_ban_expiration: Option<u32>, pub accountid: Option<u32>, pub suspension_end_time: Option<u32>, pub currency: Option<String>, pub steam_level: Option<u32>, pub friend_count: Option<u32>, pub account_creation_time: Option<u32>, pub is_steamguard_enabled: Option<bool>, pub is_phone_verified: Option<bool>, pub is_two_factor_auth_enabled: Option<bool>, pub two_factor_enabled_time: Option<u32>, pub phone_verification_time: Option<u32>, pub phone_id: Option<u64>, pub is_phone_identifying: Option<bool>, pub rt_identity_linked: Option<u32>, pub rt_birth_date: Option<u32>, pub txn_country_code: Option<String>, pub has_accepted_china_ssa: Option<bool>, pub is_banned_steam_china: Option<bool>,
}

Fields§

§eresult_deprecated: Option<u32>§account_name: Option<String>§persona_name: Option<String>§is_profile_created: Option<bool>§is_profile_public: Option<bool>§is_inventory_public: Option<bool>§is_vac_banned: Option<bool>§is_cyber_cafe: Option<bool>§is_school_account: Option<bool>§is_limited: Option<bool>§is_subscribed: Option<bool>§package: Option<u32>§is_free_trial_account: Option<bool>§free_trial_expiration: Option<u32>§is_low_violence: Option<bool>§is_account_locked_down: Option<bool>§is_community_banned: Option<bool>§is_trade_banned: Option<bool>§trade_ban_expiration: Option<u32>§accountid: Option<u32>§suspension_end_time: Option<u32>§currency: Option<String>§steam_level: Option<u32>§friend_count: Option<u32>§account_creation_time: Option<u32>§is_steamguard_enabled: Option<bool>§is_phone_verified: Option<bool>§is_two_factor_auth_enabled: Option<bool>§two_factor_enabled_time: Option<u32>§phone_verification_time: Option<u32>§phone_id: Option<u64>§is_phone_identifying: Option<bool>§rt_identity_linked: Option<u32>§rt_birth_date: Option<u32>§txn_country_code: Option<String>§has_accepted_china_ssa: Option<bool>§is_banned_steam_china: Option<bool>

Implementations§

Source§

impl CGcSystemMsgGetAccountDetailsResponse

Source

pub fn eresult_deprecated(&self) -> u32

Returns the value of eresult_deprecated, or the default value if eresult_deprecated is unset.

Source

pub fn account_name(&self) -> &str

Returns the value of account_name, or the default value if account_name is unset.

Source

pub fn persona_name(&self) -> &str

Returns the value of persona_name, or the default value if persona_name is unset.

Source

pub fn is_profile_public(&self) -> bool

Returns the value of is_profile_public, or the default value if is_profile_public is unset.

Source

pub fn is_inventory_public(&self) -> bool

Returns the value of is_inventory_public, or the default value if is_inventory_public is unset.

Source

pub fn is_vac_banned(&self) -> bool

Returns the value of is_vac_banned, or the default value if is_vac_banned is unset.

Source

pub fn is_cyber_cafe(&self) -> bool

Returns the value of is_cyber_cafe, or the default value if is_cyber_cafe is unset.

Source

pub fn is_school_account(&self) -> bool

Returns the value of is_school_account, or the default value if is_school_account is unset.

Source

pub fn is_limited(&self) -> bool

Returns the value of is_limited, or the default value if is_limited is unset.

Source

pub fn is_subscribed(&self) -> bool

Returns the value of is_subscribed, or the default value if is_subscribed is unset.

Source

pub fn package(&self) -> u32

Returns the value of package, or the default value if package is unset.

Source

pub fn is_free_trial_account(&self) -> bool

Returns the value of is_free_trial_account, or the default value if is_free_trial_account is unset.

Source

pub fn free_trial_expiration(&self) -> u32

Returns the value of free_trial_expiration, or the default value if free_trial_expiration is unset.

Source

pub fn is_low_violence(&self) -> bool

Returns the value of is_low_violence, or the default value if is_low_violence is unset.

Source

pub fn is_account_locked_down(&self) -> bool

Returns the value of is_account_locked_down, or the default value if is_account_locked_down is unset.

Source

pub fn is_community_banned(&self) -> bool

Returns the value of is_community_banned, or the default value if is_community_banned is unset.

Source

pub fn is_trade_banned(&self) -> bool

Returns the value of is_trade_banned, or the default value if is_trade_banned is unset.

Source

pub fn trade_ban_expiration(&self) -> u32

Returns the value of trade_ban_expiration, or the default value if trade_ban_expiration is unset.

Source

pub fn accountid(&self) -> u32

Returns the value of accountid, or the default value if accountid is unset.

Source

pub fn suspension_end_time(&self) -> u32

Returns the value of suspension_end_time, or the default value if suspension_end_time is unset.

Source

pub fn currency(&self) -> &str

Returns the value of currency, or the default value if currency is unset.

Source

pub fn steam_level(&self) -> u32

Returns the value of steam_level, or the default value if steam_level is unset.

Source

pub fn friend_count(&self) -> u32

Returns the value of friend_count, or the default value if friend_count is unset.

Source

pub fn account_creation_time(&self) -> u32

Returns the value of account_creation_time, or the default value if account_creation_time is unset.

Source

pub fn is_profile_created(&self) -> bool

Returns the value of is_profile_created, or the default value if is_profile_created is unset.

Source

pub fn is_steamguard_enabled(&self) -> bool

Returns the value of is_steamguard_enabled, or the default value if is_steamguard_enabled is unset.

Source

pub fn is_phone_verified(&self) -> bool

Returns the value of is_phone_verified, or the default value if is_phone_verified is unset.

Source

pub fn is_two_factor_auth_enabled(&self) -> bool

Returns the value of is_two_factor_auth_enabled, or the default value if is_two_factor_auth_enabled is unset.

Source

pub fn two_factor_enabled_time(&self) -> u32

Returns the value of two_factor_enabled_time, or the default value if two_factor_enabled_time is unset.

Source

pub fn phone_verification_time(&self) -> u32

Returns the value of phone_verification_time, or the default value if phone_verification_time is unset.

Source

pub fn phone_id(&self) -> u64

Returns the value of phone_id, or the default value if phone_id is unset.

Source

pub fn is_phone_identifying(&self) -> bool

Returns the value of is_phone_identifying, or the default value if is_phone_identifying is unset.

Source

pub fn rt_identity_linked(&self) -> u32

Returns the value of rt_identity_linked, or the default value if rt_identity_linked is unset.

Source

pub fn rt_birth_date(&self) -> u32

Returns the value of rt_birth_date, or the default value if rt_birth_date is unset.

Source

pub fn txn_country_code(&self) -> &str

Returns the value of txn_country_code, or the default value if txn_country_code is unset.

Source

pub fn has_accepted_china_ssa(&self) -> bool

Returns the value of has_accepted_china_ssa, or the default value if has_accepted_china_ssa is unset.

Source

pub fn is_banned_steam_china(&self) -> bool

Returns the value of is_banned_steam_china, or the default value if is_banned_steam_china is unset.

Trait Implementations§

Source§

impl Clone for CGcSystemMsgGetAccountDetailsResponse

Source§

fn clone(&self) -> CGcSystemMsgGetAccountDetailsResponse

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CGcSystemMsgGetAccountDetailsResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CGcSystemMsgGetAccountDetailsResponse

Source§

fn default() -> CGcSystemMsgGetAccountDetailsResponse

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CGcSystemMsgGetAccountDetailsResponse

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CGcSystemMsgGetAccountDetailsResponse, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Hash for CGcSystemMsgGetAccountDetailsResponse

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for CGcSystemMsgGetAccountDetailsResponse

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

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,

Encodes the message to a newly allocated buffer.
Source§

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,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

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,

Decodes a length-delimited instance of the message from the buffer.
Source§

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 more
Source§

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 CGcSystemMsgGetAccountDetailsResponse

Source§

fn eq(&self, other: &CGcSystemMsgGetAccountDetailsResponse) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CGcSystemMsgGetAccountDetailsResponse

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for CGcSystemMsgGetAccountDetailsResponse

Source§

impl StructuralPartialEq for CGcSystemMsgGetAccountDetailsResponse

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,