pub struct ConfigPasswordSettings {
pub minimum_length: Option<i32>,
pub lowercase: Option<bool>,
pub number: Option<bool>,
pub uppercase: Option<bool>,
pub symbol: Option<bool>,
}
Fields§
§minimum_length: Option<i32>
§lowercase: Option<bool>
§number: Option<bool>
§uppercase: Option<bool>
§symbol: Option<bool>
Implementations§
Source§impl ConfigPasswordSettings
impl ConfigPasswordSettings
pub fn new() -> ConfigPasswordSettings
Trait Implementations§
Source§impl Clone for ConfigPasswordSettings
impl Clone for ConfigPasswordSettings
Source§fn clone(&self) -> ConfigPasswordSettings
fn clone(&self) -> ConfigPasswordSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigPasswordSettings
impl Debug for ConfigPasswordSettings
Source§impl Default for ConfigPasswordSettings
impl Default for ConfigPasswordSettings
Source§fn default() -> ConfigPasswordSettings
fn default() -> ConfigPasswordSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigPasswordSettings
impl<'de> Deserialize<'de> for ConfigPasswordSettings
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 ConfigPasswordSettings
impl PartialEq for ConfigPasswordSettings
Source§impl Serialize for ConfigPasswordSettings
impl Serialize for ConfigPasswordSettings
impl StructuralPartialEq for ConfigPasswordSettings
Auto Trait Implementations§
impl Freeze for ConfigPasswordSettings
impl RefUnwindSafe for ConfigPasswordSettings
impl Send for ConfigPasswordSettings
impl Sync for ConfigPasswordSettings
impl Unpin for ConfigPasswordSettings
impl UnwindSafe for ConfigPasswordSettings
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