ruma_events::room::encryption

Type Alias RoomEncryptionEvent

Source
pub type RoomEncryptionEvent = StateEvent<RoomEncryptionEventContent>;
Expand description

An m.room.encryption event.

Aliased Type§

enum RoomEncryptionEvent {
    Original(OriginalStateEvent<RoomEncryptionEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomEncryptionEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomEncryptionEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomEncryptionEventContent>)

Redacted form of the event with minimal fields.