Struct fractal::session::model::session_settings::StoredSessionSettings
source · pub struct StoredSessionSettings {
explore_custom_servers: Vec<String>,
notifications_enabled: bool,
public_read_receipts_enabled: bool,
typing_enabled: bool,
categories_expanded: CategoriesExpanded,
}
Fields§
§explore_custom_servers: Vec<String>
Custom servers to explore.
notifications_enabled: bool
Whether notifications are enabled for this session.
public_read_receipts_enabled: bool
Whether public read receipts are enabled for this session.
typing_enabled: bool
Whether typing notifications are enabled for this session.
categories_expanded: CategoriesExpanded
Which categories are expanded.
Trait Implementations§
source§impl BoxedType for StoredSessionSettings
impl BoxedType for StoredSessionSettings
source§impl Clone for StoredSessionSettings
impl Clone for StoredSessionSettings
source§fn clone(&self) -> StoredSessionSettings
fn clone(&self) -> StoredSessionSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StoredSessionSettings
impl Debug for StoredSessionSettings
source§impl Default for StoredSessionSettings
impl Default for StoredSessionSettings
source§impl<'de> Deserialize<'de> for StoredSessionSettings
impl<'de> Deserialize<'de> for StoredSessionSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<StoredSessionSettings> for Value
impl From<StoredSessionSettings> for Value
source§fn from(v: StoredSessionSettings) -> Self
fn from(v: StoredSessionSettings) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrBorrow<*const StoredSessionSettings> for StoredSessionSettings
impl FromGlibPtrBorrow<*const StoredSessionSettings> for StoredSessionSettings
source§unsafe fn from_glib_borrow(ptr: *const StoredSessionSettings) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const StoredSessionSettings) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut StoredSessionSettings> for StoredSessionSettings
impl FromGlibPtrBorrow<*mut StoredSessionSettings> for StoredSessionSettings
source§unsafe fn from_glib_borrow(ptr: *mut StoredSessionSettings) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut StoredSessionSettings) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*mut StoredSessionSettings> for StoredSessionSettings
impl FromGlibPtrFull<*mut StoredSessionSettings> for StoredSessionSettings
source§unsafe fn from_glib_full(ptr: *mut StoredSessionSettings) -> Self
unsafe fn from_glib_full(ptr: *mut StoredSessionSettings) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const StoredSessionSettings> for StoredSessionSettings
impl FromGlibPtrNone<*const StoredSessionSettings> for StoredSessionSettings
source§unsafe fn from_glib_none(ptr: *const StoredSessionSettings) -> Self
unsafe fn from_glib_none(ptr: *const StoredSessionSettings) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut StoredSessionSettings> for StoredSessionSettings
impl FromGlibPtrNone<*mut StoredSessionSettings> for StoredSessionSettings
source§unsafe fn from_glib_none(ptr: *mut StoredSessionSettings) -> Self
unsafe fn from_glib_none(ptr: *mut StoredSessionSettings) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a StoredSessionSettings
impl<'a> FromValue<'a> for &'a StoredSessionSettings
§type Checker = GenericValueTypeChecker<&'a StoredSessionSettings>
type Checker = GenericValueTypeChecker<&'a StoredSessionSettings>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for StoredSessionSettings
impl<'a> FromValue<'a> for StoredSessionSettings
§type Checker = GenericValueTypeChecker<StoredSessionSettings>
type Checker = GenericValueTypeChecker<StoredSessionSettings>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for StoredSessionSettings
impl GlibPtrDefault for StoredSessionSettings
type GlibType = *mut StoredSessionSettings
source§impl HasParamSpec for StoredSessionSettings
impl HasParamSpec for StoredSessionSettings
type ParamSpec = ParamSpecBoxed
§type SetValue = StoredSessionSettings
type SetValue = StoredSessionSettings
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, StoredSessionSettings>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut StoredSessionSettings> for StoredSessionSettings
impl IntoGlibPtr<*mut StoredSessionSettings> for StoredSessionSettings
source§unsafe fn into_glib_ptr(self) -> *mut StoredSessionSettings
unsafe fn into_glib_ptr(self) -> *mut StoredSessionSettings
Transfer: full.
source§impl Serialize for StoredSessionSettings
impl Serialize for StoredSessionSettings
source§impl StaticType for StoredSessionSettings
impl StaticType for StoredSessionSettings
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const StoredSessionSettings> for StoredSessionSettings
impl<'a> ToGlibPtr<'a, *const StoredSessionSettings> for StoredSessionSettings
type Storage = PhantomData<&'a StoredSessionSettings>
source§fn to_glib_none(&'a self) -> Stash<'a, *const StoredSessionSettings, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const StoredSessionSettings, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const StoredSessionSettings
fn to_glib_full(&self) -> *const StoredSessionSettings
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut StoredSessionSettings> for StoredSessionSettings
impl<'a> ToGlibPtr<'a, *mut StoredSessionSettings> for StoredSessionSettings
type Storage = PhantomData<&'a StoredSessionSettings>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut StoredSessionSettings, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut StoredSessionSettings, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut StoredSessionSettings
fn to_glib_full(&self) -> *mut StoredSessionSettings
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl ToValue for StoredSessionSettings
impl ToValue for StoredSessionSettings
source§impl ValueType for StoredSessionSettings
impl ValueType for StoredSessionSettings
§type Type = StoredSessionSettings
type Type = StoredSessionSettings
Type to get the
Type
from. Read moreimpl TransparentPtrType for StoredSessionSettings
Auto Trait Implementations§
impl Freeze for StoredSessionSettings
impl RefUnwindSafe for StoredSessionSettings
impl Send for StoredSessionSettings
impl Sync for StoredSessionSettings
impl Unpin for StoredSessionSettings
impl UnwindSafe for StoredSessionSettings
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
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 moresource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.