pub struct UserSettingsPasswordRestrictions {
pub pw_min_length: u8,
pub pw_numbers: bool,
pub pw_restrictions: bool,
pub pw_specialchars: bool,
pub pw_uppercase_lowercase: bool,
}Fields§
§pw_min_length: u8§pw_numbers: bool§pw_restrictions: bool§pw_specialchars: bool§pw_uppercase_lowercase: boolTrait Implementations§
Source§impl Clone for UserSettingsPasswordRestrictions
impl Clone for UserSettingsPasswordRestrictions
Source§fn clone(&self) -> UserSettingsPasswordRestrictions
fn clone(&self) -> UserSettingsPasswordRestrictions
Returns a copy 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<'de> Deserialize<'de> for UserSettingsPasswordRestrictions
impl<'de> Deserialize<'de> for UserSettingsPasswordRestrictions
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
Auto Trait Implementations§
impl Freeze for UserSettingsPasswordRestrictions
impl RefUnwindSafe for UserSettingsPasswordRestrictions
impl Send for UserSettingsPasswordRestrictions
impl Sync for UserSettingsPasswordRestrictions
impl Unpin for UserSettingsPasswordRestrictions
impl UnwindSafe for UserSettingsPasswordRestrictions
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