pub enum PasswordPolicyLevel {
None,
Basic,
Strong,
Strict,
}Expand description
Password policy strength labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PasswordPolicyLevel
impl Clone for PasswordPolicyLevel
Source§fn clone(&self) -> PasswordPolicyLevel
fn clone(&self) -> PasswordPolicyLevel
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 PasswordPolicyLevel
impl Debug for PasswordPolicyLevel
Source§impl Display for PasswordPolicyLevel
impl Display for PasswordPolicyLevel
Source§impl FromStr for PasswordPolicyLevel
impl FromStr for PasswordPolicyLevel
Source§impl Hash for PasswordPolicyLevel
impl Hash for PasswordPolicyLevel
Source§impl Ord for PasswordPolicyLevel
impl Ord for PasswordPolicyLevel
Source§fn cmp(&self, other: &PasswordPolicyLevel) -> Ordering
fn cmp(&self, other: &PasswordPolicyLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PasswordPolicyLevel
impl PartialEq for PasswordPolicyLevel
Source§fn eq(&self, other: &PasswordPolicyLevel) -> bool
fn eq(&self, other: &PasswordPolicyLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PasswordPolicyLevel
impl PartialOrd for PasswordPolicyLevel
impl Copy for PasswordPolicyLevel
impl Eq for PasswordPolicyLevel
impl StructuralPartialEq for PasswordPolicyLevel
Auto Trait Implementations§
impl Freeze for PasswordPolicyLevel
impl RefUnwindSafe for PasswordPolicyLevel
impl Send for PasswordPolicyLevel
impl Sync for PasswordPolicyLevel
impl Unpin for PasswordPolicyLevel
impl UnsafeUnpin for PasswordPolicyLevel
impl UnwindSafe for PasswordPolicyLevel
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