Struct authy::api::user::UserStatus
[−]
[src]
pub struct UserStatus { pub id: u32, pub confirmed: bool, pub registered: bool, pub account_disabled: bool, pub country_code: u16, pub phone_number: String, pub has_hard_token: bool, pub devices: Vec<String>, }
Returned when requesting the status of an authy user.
Fields
id: u32
The authy id for the user.
confirmed: bool
true when the user has used a valid code before.
registered: bool
true when the Authy Mobile/Desktop App was registered.
account_disabled: bool
Has the account been marked for deletion
country_code: u16
The country code listed for the user.
phone_number: String
The last 4 of the phone number registered to the account.
has_hard_token: bool
(Unknown, API documentation doesn't list)
devices: Vec<String>
List of devices, options are: android, android_tablet, ios, authy_chrome, sms.
Trait Implementations
impl Debug for UserStatus
[src]
impl Clone for UserStatus
[src]
fn clone(&self) -> UserStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for UserStatus
[src]
impl PartialEq for UserStatus
[src]
fn eq(&self, __arg_0: &UserStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UserStatus) -> bool
This method tests for !=
.