[][src]Struct nextcloud_passwords_client::settings::SettingsFetcher

pub struct SettingsFetcher<'api> { /* fields omitted */ }

Fetch a single setting

Implementations

impl<'api> SettingsFetcher<'api>[src]

pub async fn password_strength<'_>(&'_ self) -> Result<i8, Error>[src]

pub async fn password_contains_numbers<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn password_contains_special<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn check_for_duplicates<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn check_for_old_passwords<'_>(&'_ self) -> Result<i64, Error>[src]

pub async fn notify_security_by_mail<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn notify_shares_by_mail<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn notify_security_by_notification<'_>(
    &'_ self
) -> Result<bool, Error>
[src]

pub async fn notify_shares_by_notification<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn notifiy_errors_by_notification<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn server_side_encryption<'_>(&'_ self) -> Result<i8, Error>[src]

pub async fn client_side_encryption<'_>(&'_ self) -> Result<i8, Error>[src]

pub async fn session_lifetime<'_>(&'_ self) -> Result<u64, Error>[src]

pub async fn version<'_>(&'_ self) -> Result<String, Error>[src]

pub async fn base_url<'_>(&'_ self) -> Result<Url, Error>[src]

pub async fn base_url_web_dav<'_>(&'_ self) -> Result<Url, Error>[src]

pub async fn sharing<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn resharing<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn autocomplete<'_>(&'_ self) -> Result<bool, Error>[src]

pub async fn sharing_types<'_>(&'_ self) -> Result<Vec<String>, Error>[src]

pub async fn primary_color<'_>(&'_ self) -> Result<Color, Error>[src]

pub async fn text_color<'_>(&'_ self) -> Result<Color, Error>[src]

pub async fn background_color<'_>(&'_ self) -> Result<Color, Error>[src]

pub async fn background_theme<'_>(&'_ self) -> Result<Url, Error>[src]

pub async fn label<'_>(&'_ self) -> Result<String, Error>[src]

pub async fn app_icon<'_>(&'_ self) -> Result<Url, Error>[src]

pub async fn folder_icon<'_>(&'_ self) -> Result<Url, Error>[src]

pub async fn client_setting<D: DeserializeOwned, '_>(
    &'_ self,
    client_setting: ClientSettings
) -> Result<Option<D>, Error>
[src]

Note

  • The client scope allows keys with up to 48 characters, excluding client.
  • The client scope allows values with a maximum length of 128 characters
  • The client scope is shared between all clients

pub async fn from_variant<'_>(
    &'_ self,
    variant: SettingVariant
) -> Result<SettingValue, Error>
[src]

Fetch setting (expected SettingVariant::Client) from it's name

Auto Trait Implementations

impl<'api> !RefUnwindSafe for SettingsFetcher<'api>

impl<'api> Send for SettingsFetcher<'api>

impl<'api> Sync for SettingsFetcher<'api>

impl<'api> Unpin for SettingsFetcher<'api>

impl<'api> !UnwindSafe for SettingsFetcher<'api>

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> 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.