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

The authy id for the user.

true when the user has used a valid code before.

true when the Authy Mobile/Desktop App was registered.

Has the account been marked for deletion

The country code listed for the user.

The last 4 of the phone number registered to the account.

(Unknown, API documentation doesn't list)

List of devices, options are: android, android_tablet, ios, authy_chrome, sms.

Trait Implementations

impl Debug for UserStatus
[src]

Formats the value using the given formatter.

impl Clone for UserStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for UserStatus
[src]

impl PartialEq for UserStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.