#[non_exhaustive]pub struct ExperimentalFeatures {
pub msc3026: Option<bool>,
pub msc3881: Option<bool>,
pub msc3967: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.msc3026: Option<bool>
Whether busy presence state is enabled.
msc3881: Option<bool>
Whether remotely toggling push notifications for another client is enabled.
msc3967: Option<bool>
Do not require UIA when first uploading cross-signing keys.
Implementations§
Trait Implementations§
Source§impl Clone for ExperimentalFeatures
impl Clone for ExperimentalFeatures
Source§fn clone(&self) -> ExperimentalFeatures
fn clone(&self) -> ExperimentalFeatures
Returns a duplicate 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 ExperimentalFeatures
impl Debug for ExperimentalFeatures
Source§impl Default for ExperimentalFeatures
impl Default for ExperimentalFeatures
Source§fn default() -> ExperimentalFeatures
fn default() -> ExperimentalFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExperimentalFeatures
impl<'de> Deserialize<'de> for ExperimentalFeatures
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 PartialEq for ExperimentalFeatures
impl PartialEq for ExperimentalFeatures
Source§impl Serialize for ExperimentalFeatures
impl Serialize for ExperimentalFeatures
impl StructuralPartialEq for ExperimentalFeatures
Auto Trait Implementations§
impl Freeze for ExperimentalFeatures
impl RefUnwindSafe for ExperimentalFeatures
impl Send for ExperimentalFeatures
impl Sync for ExperimentalFeatures
impl Unpin for ExperimentalFeatures
impl UnwindSafe for ExperimentalFeatures
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