ruma_events::room::encryption

Type Alias SyncRoomEncryptionEvent

Source
pub type SyncRoomEncryptionEvent = SyncStateEvent<RoomEncryptionEventContent>;
Expand description

An m.room.encryption event from a sync_events response.

Aliased Type§

enum SyncRoomEncryptionEvent {
    Original(OriginalSyncStateEvent<RoomEncryptionEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomEncryptionEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomEncryptionEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomEncryptionEventContent>)

Redacted form of the event with minimal fields.