pub enum UserSettings {
Show 13 variants
PasswordStrength,
PasswordContainsNumber,
PasswordContainsSpecial,
CheckForDuplicates,
CheckForOldPasswords,
NotifySecurityByMail,
NotifySharesByMail,
NotifySecurityByNotification,
NotifySharesByNotification,
NotifyErrorsByNotification,
ServerSideEncryption,
ClientSideEncryption,
SessionLifetime,
}
Expand description
User Setting names
Variants§
PasswordStrength
PasswordContainsNumber
PasswordContainsSpecial
CheckForDuplicates
CheckForOldPasswords
NotifySecurityByMail
NotifySecurityByNotification
NotifyErrorsByNotification
ServerSideEncryption
ClientSideEncryption
SessionLifetime
Trait Implementations§
Source§impl Debug for UserSettings
impl Debug for UserSettings
Source§impl<'de> Deserialize<'de> for UserSettings
impl<'de> Deserialize<'de> for UserSettings
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 From<UserSettings> for SettingVariant
impl From<UserSettings> for SettingVariant
Source§fn from(value: UserSettings) -> Self
fn from(value: UserSettings) -> Self
Converts to this type from the input type.
Source§impl FromStr for UserSettings
impl FromStr for UserSettings
Source§impl Hash for UserSettings
impl Hash for UserSettings
Source§impl PartialEq for UserSettings
impl PartialEq for UserSettings
Source§impl Serialize for UserSettings
impl Serialize for UserSettings
impl Eq for UserSettings
impl StructuralPartialEq for UserSettings
impl WritableSetting for UserSettings
Auto Trait Implementations§
impl Freeze for UserSettings
impl RefUnwindSafe for UserSettings
impl Send for UserSettings
impl Sync for UserSettings
impl Unpin for UserSettings
impl UnwindSafe for UserSettings
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.