pub struct PatchedPasswordPolicyRequest {Show 15 fields
pub name: Option<String>,
pub execution_logging: Option<bool>,
pub password_field: Option<String>,
pub amount_digits: Option<i32>,
pub amount_uppercase: Option<i32>,
pub amount_lowercase: Option<i32>,
pub amount_symbols: Option<i32>,
pub length_min: Option<i32>,
pub symbol_charset: Option<String>,
pub error_message: Option<String>,
pub check_static_rules: Option<bool>,
pub check_have_i_been_pwned: Option<bool>,
pub check_zxcvbn: Option<bool>,
pub hibp_allowed_count: Option<i32>,
pub zxcvbn_score_threshold: Option<i32>,
}
Expand description
PatchedPasswordPolicyRequest : Password Policy Serializer
Fields§
§name: Option<String>
§execution_logging: Option<bool>
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
password_field: Option<String>
Field key to check, field keys defined in Prompt stages are available.
amount_digits: Option<i32>
§amount_uppercase: Option<i32>
§amount_lowercase: Option<i32>
§amount_symbols: Option<i32>
§length_min: Option<i32>
§symbol_charset: Option<String>
§error_message: Option<String>
§check_static_rules: Option<bool>
§check_have_i_been_pwned: Option<bool>
§check_zxcvbn: Option<bool>
§hibp_allowed_count: Option<i32>
How many times the password hash is allowed to be on haveibeenpwned
zxcvbn_score_threshold: Option<i32>
If the zxcvbn score is equal or less than this value, the policy will fail.
Implementations§
Source§impl PatchedPasswordPolicyRequest
impl PatchedPasswordPolicyRequest
Sourcepub fn new() -> PatchedPasswordPolicyRequest
pub fn new() -> PatchedPasswordPolicyRequest
Password Policy Serializer
Trait Implementations§
Source§impl Clone for PatchedPasswordPolicyRequest
impl Clone for PatchedPasswordPolicyRequest
Source§fn clone(&self) -> PatchedPasswordPolicyRequest
fn clone(&self) -> PatchedPasswordPolicyRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 PatchedPasswordPolicyRequest
impl Debug for PatchedPasswordPolicyRequest
Source§impl Default for PatchedPasswordPolicyRequest
impl Default for PatchedPasswordPolicyRequest
Source§fn default() -> PatchedPasswordPolicyRequest
fn default() -> PatchedPasswordPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedPasswordPolicyRequest
impl<'de> Deserialize<'de> for PatchedPasswordPolicyRequest
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
Source§impl PartialEq for PatchedPasswordPolicyRequest
impl PartialEq for PatchedPasswordPolicyRequest
Source§fn eq(&self, other: &PatchedPasswordPolicyRequest) -> bool
fn eq(&self, other: &PatchedPasswordPolicyRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PatchedPasswordPolicyRequest
Auto Trait Implementations§
impl Freeze for PatchedPasswordPolicyRequest
impl RefUnwindSafe for PatchedPasswordPolicyRequest
impl Send for PatchedPasswordPolicyRequest
impl Sync for PatchedPasswordPolicyRequest
impl Unpin for PatchedPasswordPolicyRequest
impl UnwindSafe for PatchedPasswordPolicyRequest
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