Struct ruma_events::dummy::DummyToDeviceEventContent [−][src]
pub struct DummyToDeviceEventContent;
Expand description
The payload for DummyEvent
.
This event type is used to indicate new Olm sessions for end-to-end encryption.
Typically it is encrypted as an m.room.encrypted event, then sent as a to-device event.
The event does not have any content associated with it. The sending client is expected to send a key share request shortly after this message, causing the receiving client to process this m.dummy event as the most recent event and using the keyshare request to set up the session. The keyshare request and m.dummy combination should result in the original sending client receiving keys over the newly established session.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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 DummyToDeviceEventContent
impl Send for DummyToDeviceEventContent
impl Sync for DummyToDeviceEventContent
impl Unpin for DummyToDeviceEventContent
impl UnwindSafe for DummyToDeviceEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V