Struct ruma_client_api::sync::sync_events::v4::AccountDataConfig
source · [−]Available on (crate features
client
or server
) and crate feature unstable-msc3575
only.Expand description
Account-data extension configuration.
Not yet part of the spec proposal. Taken from the reference implementation https://github.com/matrix-org/sliding-sync/blob/d77e21138d4886d27b3888d36cf3627f54f67590/sync3/extensions/account_data.go
Fields
enabled: Option<bool>
Activate or deactivate this extension. Sticky.
Trait Implementations
sourceimpl Clone for AccountDataConfig
impl Clone for AccountDataConfig
sourcefn clone(&self) -> AccountDataConfig
fn clone(&self) -> AccountDataConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AccountDataConfig
impl Debug for AccountDataConfig
sourceimpl Default for AccountDataConfig
impl Default for AccountDataConfig
sourcefn default() -> AccountDataConfig
fn default() -> AccountDataConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AccountDataConfig
impl<'de> Deserialize<'de> for AccountDataConfig
sourcefn 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
sourceimpl Serialize for AccountDataConfig
impl Serialize for AccountDataConfig
Auto Trait Implementations
impl RefUnwindSafe for AccountDataConfig
impl Send for AccountDataConfig
impl Sync for AccountDataConfig
impl Unpin for AccountDataConfig
impl UnwindSafe for AccountDataConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more