Struct ruma::api::client::sync::sync_events::v4::AccountDataConfig
source · [−]Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
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 · sourcefn clone_from(&mut self, source: &Self)
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<AccountDataConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AccountDataConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for AccountDataConfig
impl Serialize for AccountDataConfig
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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