Struct ruma::api::client::sync::sync_events::v4::ExtensionsConfig
source · [−]pub struct ExtensionsConfig {
pub to_device: Option<ToDeviceConfig>,
pub e2ee: Option<E2EEConfig>,
pub account_data: Option<AccountDataConfig>,
/* private fields */
}
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
Sliding-Sync extension configuration.
Fields
to_device: Option<ToDeviceConfig>
Request to devices messages with the given config.
e2ee: Option<E2EEConfig>
Configure the end-to-end-encryption extension.
account_data: Option<AccountDataConfig>
Configure the account data extension.
Trait Implementations
sourceimpl Clone for ExtensionsConfig
impl Clone for ExtensionsConfig
sourcefn clone(&self) -> ExtensionsConfig
fn clone(&self) -> ExtensionsConfig
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 ExtensionsConfig
impl Debug for ExtensionsConfig
sourceimpl Default for ExtensionsConfig
impl Default for ExtensionsConfig
sourcefn default() -> ExtensionsConfig
fn default() -> ExtensionsConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ExtensionsConfig
impl<'de> Deserialize<'de> for ExtensionsConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ExtensionsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ExtensionsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ExtensionsConfig
impl Serialize for ExtensionsConfig
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 ExtensionsConfig
impl Send for ExtensionsConfig
impl Sync for ExtensionsConfig
impl Unpin for ExtensionsConfig
impl UnwindSafe for ExtensionsConfig
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