Type Alias ruma_events::room::encryption::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.