Struct authenticator::models::settings::Settings
source · pub struct Settings(ThreadGuard<Settings>);
Tuple Fields§
§0: ThreadGuard<Settings>
Implementations§
source§impl Settings
impl Settings
const KEY_KEYRINGS_MIGRATED: &'static str = "keyrings-migrated"
const KEY_AUTO_LOCK: &'static str = "auto-lock"
const KEY_AUTO_LOCK_TIMEOUT: &'static str = "auto-lock-timeout"
const KEY_WINDOW_WIDTH: &'static str = "window-width"
const KEY_WINDOW_HEIGHT: &'static str = "window-height"
const KEY_IS_MAXIMIZED: &'static str = "is-maximized"
const KEY_DOWNLOAD_FAVICONS: &'static str = "download-favicons"
const KEY_DOWNLOAD_FAVICONS_METRED: &'static str = "download-favicons-metered"
pub fn set_keyrings_migrated( &self, keyrings_migrated: bool ) -> Result<(), BoolError>
pub fn keyrings_migrated(&self) -> bool
pub fn auto_lock(&self) -> bool
pub fn connect_auto_lock_changed<F>(&self, callback: F) -> SignalHandlerId
pub fn bind_auto_lock<'a>( &'a self, target: &'a impl IsA<Object>, target_property: &'a str ) -> BindingBuilder<'a>
pub fn auto_lock_timeout(&self) -> u32
pub fn connect_auto_lock_timeout_changed<F>( &self, callback: F ) -> SignalHandlerId
pub fn bind_auto_lock_timeout<'a>( &'a self, target: &'a impl IsA<Object>, target_property: &'a str ) -> BindingBuilder<'a>
pub fn set_window_height(&self, window_height: i32) -> Result<(), BoolError>
pub fn window_height(&self) -> i32
pub fn set_window_width(&self, window_width: i32) -> Result<(), BoolError>
pub fn window_width(&self) -> i32
pub fn is_maximized(&self) -> bool
pub fn set_is_maximized(&self, is_maximized: bool) -> Result<(), BoolError>
pub fn download_favicons(&self) -> bool
pub fn bind_download_favicons<'a>( &'a self, target: &'a impl IsA<Object>, target_property: &'a str ) -> BindingBuilder<'a>
pub fn connect_download_favicons_changed<F>( &self, callback: F ) -> SignalHandlerId
pub fn download_favicons_metered(&self) -> bool
pub fn bind_download_favicons_metred<'a>( &'a self, target: &'a impl IsA<Object>, target_property: &'a str ) -> BindingBuilder<'a>
pub fn connect_download_favicons_metered_changed<F>( &self, callback: F ) -> SignalHandlerId
Methods from Deref<Target = Settings>§
Trait Implementations§
impl Send for Settings
impl Sync for Settings
Auto Trait Implementations§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.