Struct matrix_sdk_crypto::ReadOnlyDevice [−][src]
pub struct ReadOnlyDevice { /* fields omitted */ }Expand description
A read-only version of a Device.
Implementations
Create a new Device.
Get the human readable name of the device.
Get the key of the given key algorithm belonging to this device.
Get a map containing all the device signatures.
Get the trust state of the device.
Is the device locally marked as trusted.
Is the device locally marked as blacklisted.
Blacklisted devices won’t receive any group sessions.
Get the list of algorithms this device supports.
Trait Implementations
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 !RefUnwindSafe for ReadOnlyDevice
impl Send for ReadOnlyDevice
impl Sync for ReadOnlyDevice
impl Unpin for ReadOnlyDevice
impl !UnwindSafe for ReadOnlyDevice
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more