[−][src]Struct nextcloud_passwords_client::settings::Settings
Set the values of settings
Implementations
impl Settings
[src]
pub fn new() -> Self
[src]
Empty settings
pub fn password_strength(self, value: i8) -> Self
[src]
Assign a value to this setting
pub fn password_contains_numbers(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn password_contains_special(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn check_for_duplicates(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn check_for_old_passwords(self, value: i64) -> Self
[src]
Assign a value to this setting
pub fn notify_security_by_mail(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn notify_shares_by_mail(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn notify_security_by_notification(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn notify_shares_by_notification(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn notifiy_errors_by_notification(self, value: bool) -> Self
[src]
Assign a value to this setting
pub fn server_side_encryption(self, value: i8) -> Self
[src]
Assign a value to this setting
pub fn client_side_encryption(self, value: i8) -> Self
[src]
Assign a value to this setting
pub fn session_lifetime(self, value: u64) -> Self
[src]
Assign a value to this setting
pub fn set_user_value(self, setting: UserSettingValue) -> Self
[src]
Trait Implementations
impl Debug for Settings
[src]
impl Default for Settings
[src]
impl<'de> Deserialize<'de> for Settings
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Settings
[src]
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,