Struct google_androidmanagement1::PasswordRequirements[][src]

pub struct PasswordRequirements {
    pub password_expiration_timeout: Option<String>,
    pub maximum_failed_passwords_for_wipe: Option<i32>,
    pub password_history_length: Option<i32>,
    pub password_minimum_symbols: Option<i32>,
    pub password_quality: Option<String>,
    pub password_minimum_length: Option<i32>,
    pub password_minimum_numeric: Option<i32>,
    pub password_minimum_non_letter: Option<i32>,
    pub password_minimum_upper_case: Option<i32>,
    pub password_minimum_lower_case: Option<i32>,
    pub password_minimum_letters: Option<i32>,
}

Requirements for the password used to unlock a device.

This type is not used in any activity, and only used as part of another schema.

Fields

Password expiration timeout.

A device will be wiped after too many incorrect device-unlock passwords have been entered. A value of 0 means there is no restriction.

The length of the password history. After setting this, the user will not be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.

Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.

The required password quality.

The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.

Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.

Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.

Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.

Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.

Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.

Trait Implementations

impl Default for PasswordRequirements
[src]

Returns the "default value" for a type. Read more

impl Clone for PasswordRequirements
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PasswordRequirements
[src]

Formats the value using the given formatter. Read more

impl Part for PasswordRequirements
[src]

Auto Trait Implementations