Type Alias ruma::events::room::canonical_alias::RoomCanonicalAliasEvent

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

An m.room.canonical_alias event.

Aliased Type§

enum RoomCanonicalAliasEvent {
    Original(OriginalStateEvent<RoomCanonicalAliasEventContent>),
    Redacted(RedactedStateEvent<RedactedRoomCanonicalAliasEventContent>),
}

Variants§

§

Original(OriginalStateEvent<RoomCanonicalAliasEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedRoomCanonicalAliasEventContent>)

Redacted form of the event with minimal fields.