Enum ruma_events::AnyToDeviceEventContent[][src]

pub enum AnyToDeviceEventContent {
    Dummy(DummyToDeviceEventContent),
    RoomKey(RoomKeyToDeviceEventContent),
    RoomKeyRequest(RoomKeyRequestToDeviceEventContent),
    ForwardedRoomKey(ForwardedRoomKeyToDeviceEventContent),
    KeyVerificationRequest(RequestToDeviceEventContent),
    KeyVerificationStart(StartToDeviceEventContent),
    KeyVerificationCancel(CancelToDeviceEventContent),
    KeyVerificationAccept(AcceptToDeviceEventContent),
    KeyVerificationKey(KeyToDeviceEventContent),
    KeyVerificationMac(MacToDeviceEventContent),
    RoomEncrypted(EncryptedToDeviceEventContent),
    Custom(CustomEventContent),
}

Any to-device event.

Variants

m.dummy

m.room_key

m.room_key_request

m.forwarded_room_key

KeyVerificationRequest(RequestToDeviceEventContent)

m.key.verification.request

KeyVerificationStart(StartToDeviceEventContent)

m.key.verification.start

KeyVerificationCancel(CancelToDeviceEventContent)

m.key.verification.cancel

KeyVerificationAccept(AcceptToDeviceEventContent)

m.key.verification.accept

KeyVerificationKey(KeyToDeviceEventContent)

m.key.verification.key

KeyVerificationMac(MacToDeviceEventContent)

m.key.verification.mac

m.room.encrypted

Content of an event not defined by the Matrix specification.

Trait Implementations

impl Clone for AnyToDeviceEventContent[src]

impl Debug for AnyToDeviceEventContent[src]

impl EventContent for AnyToDeviceEventContent[src]

impl Serialize for AnyToDeviceEventContent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,