Struct ruma_events::key::verification::key::KeyToDeviceEventContent [−][src]
Expand description
The payload for a to-device KeyEvent
.
Fields
transaction_id: String
An opaque identifier for the verification process.
Must be the same as the one used for the m.key.verification.start message.
key: String
The device’s ephemeral public key, encoded as unpadded Base64.
Implementations
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
A matrix event identifier, like m.room.message
.
Constructs the given event content.
Auto Trait Implementations
impl RefUnwindSafe for KeyToDeviceEventContent
impl Send for KeyToDeviceEventContent
impl Sync for KeyToDeviceEventContent
impl Unpin for KeyToDeviceEventContent
impl UnwindSafe for KeyToDeviceEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more