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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)