Struct ruma_client_api::sync::sync_events::v4::AccountDataConfig
source · pub struct AccountDataConfig {
pub enabled: Option<bool>,
}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/main/sync3/extensions/account_data.go
Fields§
§enabled: Option<bool>Activate or deactivate this extension. Sticky.
Trait Implementations§
source§impl Clone for AccountDataConfig
impl Clone for AccountDataConfig
source§fn clone(&self) -> AccountDataConfig
fn clone(&self) -> AccountDataConfig
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 AccountDataConfig
impl Debug for AccountDataConfig
source§impl Default for AccountDataConfig
impl Default for AccountDataConfig
source§fn default() -> AccountDataConfig
fn default() -> AccountDataConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountDataConfig
impl<'de> Deserialize<'de> for AccountDataConfig
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<AccountDataConfig> for AccountDataConfig
impl PartialEq<AccountDataConfig> for AccountDataConfig
source§fn eq(&self, other: &AccountDataConfig) -> bool
fn eq(&self, other: &AccountDataConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.