pub enum DehydratedDeviceData {
V1(DehydratedDeviceV1),
}
Available on (crate features
client
or server
) and crate feature unstable-msc3814
only.Expand description
Data for a dehydrated device.
Variants§
V1(DehydratedDeviceV1)
The org.matrix.msc3814.v1.olm
variant of a dehydrated device.
Implementations§
Source§impl DehydratedDeviceData
impl DehydratedDeviceData
Sourcepub fn algorithm(&self) -> DeviceDehydrationAlgorithm
pub fn algorithm(&self) -> DeviceDehydrationAlgorithm
Get the algorithm this dehydrated device uses.
Trait Implementations§
Source§impl Clone for DehydratedDeviceData
impl Clone for DehydratedDeviceData
Source§fn clone(&self) -> DehydratedDeviceData
fn clone(&self) -> DehydratedDeviceData
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 DehydratedDeviceData
impl Debug for DehydratedDeviceData
Source§impl<'de> Deserialize<'de> for DehydratedDeviceData
impl<'de> Deserialize<'de> for DehydratedDeviceData
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
Auto Trait Implementations§
impl Freeze for DehydratedDeviceData
impl RefUnwindSafe for DehydratedDeviceData
impl Send for DehydratedDeviceData
impl Sync for DehydratedDeviceData
impl Unpin for DehydratedDeviceData
impl UnwindSafe for DehydratedDeviceData
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