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
Trait Implementations§
impl Send for Settings
impl Sync for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations§
§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read more§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read more§fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
Add an aggregate function filter Read more
§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
Add an aggregate function order Read more
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§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.
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> WindowExpressionMethods for T
impl<T> WindowExpressionMethods for T
§fn over(self) -> Self::Outputwhere
Self: OverDsl,
fn over(self) -> Self::Outputwhere
Self: OverDsl,
Turn a function call into a window function call Read more
§fn window_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
fn window_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
Add a filter to the current window function Read more
§fn partition_by<E>(self, expr: E) -> Self::Outputwhere
Self: PartitionByDsl<E>,
fn partition_by<E>(self, expr: E) -> Self::Outputwhere
Self: PartitionByDsl<E>,
Add a partition clause to the current window function Read more
§fn window_order<E>(self, expr: E) -> Self::Outputwhere
Self: OrderWindowDsl<E>,
fn window_order<E>(self, expr: E) -> Self::Outputwhere
Self: OrderWindowDsl<E>,
Add a order clause to the current window function Read more