Enum ruma_events::AnyToDeviceEventContent [−][src]
pub enum AnyToDeviceEventContent {}Show 13 variants
Dummy(DummyToDeviceEventContent), RoomKey(RoomKeyToDeviceEventContent), RoomKeyRequest(RoomKeyRequestToDeviceEventContent), ForwardedRoomKey(ForwardedRoomKeyToDeviceEventContent), KeyVerificationRequest(RequestToDeviceEventContent), KeyVerificationReady(ReadyToDeviceEventContent), KeyVerificationStart(StartToDeviceEventContent), KeyVerificationCancel(CancelToDeviceEventContent), KeyVerificationAccept(AcceptToDeviceEventContent), KeyVerificationKey(KeyToDeviceEventContent), KeyVerificationMac(MacToDeviceEventContent), KeyVerificationDone(DoneToDeviceEventContent), RoomEncrypted(EncryptedToDeviceEventContent), // some variants omitted
Expand description
Any to-device event.
Variants
m.dummy
Tuple Fields of Dummy
m.room_key
Tuple Fields of RoomKey
m.room_key_request
Tuple Fields of RoomKeyRequest
m.forwarded_room_key
Tuple Fields of ForwardedRoomKey
m.key.verification.request
Tuple Fields of KeyVerificationRequest
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.ready
Tuple Fields of KeyVerificationReady
m.key.verification.start
Tuple Fields of KeyVerificationStart
m.key.verification.cancel
Tuple Fields of KeyVerificationCancel
m.key.verification.accept
Tuple Fields of KeyVerificationAccept
m.key.verification.key
Tuple Fields of KeyVerificationKey
m.key.verification.mac
Tuple Fields of KeyVerificationMac
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.done
Tuple Fields of KeyVerificationDone
m.room.encrypted
Tuple Fields of RoomEncrypted
Trait Implementations
A matrix event identifier, like m.room.message
.
Constructs the given event content.
Auto Trait Implementations
impl RefUnwindSafe for AnyToDeviceEventContent
impl Send for AnyToDeviceEventContent
impl Sync for AnyToDeviceEventContent
impl Unpin for AnyToDeviceEventContent
impl UnwindSafe for AnyToDeviceEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more