Enum ruma_events::AnyToDeviceEvent [−][src]
pub enum AnyToDeviceEvent {}Show 15 variants
Dummy(ToDeviceEvent<DummyToDeviceEventContent>), RoomKey(ToDeviceEvent<RoomKeyToDeviceEventContent>), RoomKeyRequest(ToDeviceEvent<RoomKeyRequestToDeviceEventContent>), ForwardedRoomKey(ToDeviceEvent<ForwardedRoomKeyToDeviceEventContent>), KeyVerificationRequest(ToDeviceEvent<RequestToDeviceEventContent>), KeyVerificationReady(ToDeviceEvent<ReadyToDeviceEventContent>), KeyVerificationStart(ToDeviceEvent<StartToDeviceEventContent>), KeyVerificationCancel(ToDeviceEvent<CancelToDeviceEventContent>), KeyVerificationAccept(ToDeviceEvent<AcceptToDeviceEventContent>), KeyVerificationKey(ToDeviceEvent<KeyToDeviceEventContent>), KeyVerificationMac(ToDeviceEvent<MacToDeviceEventContent>), KeyVerificationDone(ToDeviceEvent<DoneToDeviceEventContent>), RoomEncrypted(ToDeviceEvent<EncryptedToDeviceEventContent>), SecretRequest(ToDeviceEvent<RequestToDeviceEventContent>), SecretSend(ToDeviceEvent<SendToDeviceEventContent>), // 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
This is supported on crate feature
unstable-pre-spec
only.m.secret.request
Tuple Fields of SecretRequest
This is supported on crate feature
unstable-pre-spec
only.m.secret.send
Tuple Fields of SecretSend
Implementations
Returns the any content enum for this event.
Returns the type
of this event.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnyToDeviceEvent
impl Send for AnyToDeviceEvent
impl Sync for AnyToDeviceEvent
impl Unpin for AnyToDeviceEvent
impl UnwindSafe for AnyToDeviceEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more