pub enum SettingValue {
Show 29 variants
PasswordStrength(i8),
PasswordContainsNumber(bool),
PasswordContainsSpecial(bool),
CheckForDuplicates(bool),
CheckForOldPasswords(i64),
NotifySecurityByMail(bool),
NotifySharesByMail(bool),
NotifySecurityByNotification(bool),
NotifySharesByNotification(bool),
NotifyErrorsByNotification(bool),
ServerSideEncryption(i8),
ClientSideEncryption(i8),
SessionLifetime(u64),
Version(String),
BaseUrl(Url),
BaseUrlWebDav(Url),
Sharing(bool),
Resharing(bool),
AutoComplete(bool),
SharingTypes(Vec<String>),
PrimaryColor(Color),
TextColor(Color),
BackgroundColor(Color),
BackgroundTheme(Url),
Logo(Url),
Label(String),
AppIcon(Url),
FolderIcon(Url),
Client {
name: String,
value: String,
},
}
Expand description
The value of a Setting
Variants§
PasswordStrength(i8)
PasswordContainsNumber(bool)
PasswordContainsSpecial(bool)
CheckForDuplicates(bool)
CheckForOldPasswords(i64)
NotifySecurityByMail(bool)
NotifySecurityByNotification(bool)
NotifyErrorsByNotification(bool)
ServerSideEncryption(i8)
ClientSideEncryption(i8)
SessionLifetime(u64)
Version(String)
BaseUrl(Url)
BaseUrlWebDav(Url)
Sharing(bool)
Resharing(bool)
AutoComplete(bool)
SharingTypes(Vec<String>)
PrimaryColor(Color)
TextColor(Color)
BackgroundColor(Color)
BackgroundTheme(Url)
Logo(Url)
Label(String)
AppIcon(Url)
FolderIcon(Url)
Client
Trait Implementations§
Source§impl Debug for SettingValue
impl Debug for SettingValue
Source§impl<'de> Deserialize<'de> for SettingValue
impl<'de> Deserialize<'de> for SettingValue
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<ServerSettingValue> for SettingValue
impl From<ServerSettingValue> for SettingValue
Source§fn from(value: ServerSettingValue) -> Self
fn from(value: ServerSettingValue) -> Self
Converts to this type from the input type.
Source§impl From<UserSettingValue> for SettingValue
impl From<UserSettingValue> for SettingValue
Source§fn from(value: UserSettingValue) -> Self
fn from(value: UserSettingValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SettingValue
impl RefUnwindSafe for SettingValue
impl Send for SettingValue
impl Sync for SettingValue
impl Unpin for SettingValue
impl UnwindSafe for SettingValue
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