[][src]Struct nextcloud_passwords_client::settings::Settings

pub struct Settings { /* fields omitted */ }

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]

impl Serialize for Settings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.