pub struct E2EE {
pub enabled: Option<bool>,
}
Available on (crate features
client
or server
) and crate feature unstable-msc4186
only.Expand description
E2EE extension configuration.
According to MSC3884.
Fields§
§enabled: Option<bool>
Activate or deactivate this extension.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for E2EE
impl<'de> Deserialize<'de> for E2EE
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 From<E2EE> for E2EEConfig
Available on crate feature unstable-msc3575
only.
impl From<E2EE> for E2EEConfig
Available on crate feature
unstable-msc3575
only.impl StructuralPartialEq for E2EE
Auto Trait Implementations§
impl Freeze for E2EE
impl RefUnwindSafe for E2EE
impl Send for E2EE
impl Sync for E2EE
impl Unpin for E2EE
impl UnwindSafe for E2EE
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