Type Alias ruma::events::room::canonical_alias::SyncRoomCanonicalAliasEvent

source ·
pub type SyncRoomCanonicalAliasEvent = SyncStateEvent<RoomCanonicalAliasEventContent>;
Available on crate feature events only.
Expand description

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

Aliased Type§

enum SyncRoomCanonicalAliasEvent {
    Original(OriginalSyncStateEvent<RoomCanonicalAliasEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomCanonicalAliasEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomCanonicalAliasEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomCanonicalAliasEventContent>)

Redacted form of the event with minimal fields.