pub struct TwoFactorStatus {Show 18 fields
pub state: i32,
pub inactivation_reason: Option<Value>,
pub authenticator_type: Option<i32>,
pub authenticator_allowed: Option<i32>,
pub steamguard_scheme: Option<i32>,
pub token_gid: Option<String>,
pub email_validated: Option<i32>,
pub device_identifier: Option<String>,
pub time_created: Option<u64>,
pub revocation_attempts_remaining: Option<i32>,
pub classified_agent: Option<String>,
pub allow_external_authenticator: Option<bool>,
pub time_transferred: Option<u64>,
pub version: Option<i32>,
pub last_seen_auth_token_id: Option<String>,
pub usages: Option<Vec<TwoFactorUsage>>,
pub success: Option<i32>,
pub rwgrsn: Option<i32>,
}Expand description
Two-factor / Steam Guard status for the account.
Fields§
§state: i32Guard state: 0 = email guard active, 1 = authenticator active.
inactivation_reason: Option<Value>§authenticator_type: Option<i32>§authenticator_allowed: Option<i32>§steamguard_scheme: Option<i32>§token_gid: Option<String>§email_validated: Option<i32>§device_identifier: Option<String>§time_created: Option<u64>§revocation_attempts_remaining: Option<i32>§classified_agent: Option<String>§allow_external_authenticator: Option<bool>§time_transferred: Option<u64>§version: Option<i32>§last_seen_auth_token_id: Option<String>§usages: Option<Vec<TwoFactorUsage>>§success: Option<i32>EResult from the underlying Steam API call.
rwgrsn: Option<i32>Internal result code (rwgrsn).
Trait Implementations§
Source§impl Clone for TwoFactorStatus
impl Clone for TwoFactorStatus
Source§fn clone(&self) -> TwoFactorStatus
fn clone(&self) -> TwoFactorStatus
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 TwoFactorStatus
impl Debug for TwoFactorStatus
Source§impl<'de> Deserialize<'de> for TwoFactorStatus
impl<'de> Deserialize<'de> for TwoFactorStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TwoFactorStatus
impl RefUnwindSafe for TwoFactorStatus
impl Send for TwoFactorStatus
impl Sync for TwoFactorStatus
impl Unpin for TwoFactorStatus
impl UnsafeUnpin for TwoFactorStatus
impl UnwindSafe for TwoFactorStatus
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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