ruma_events::room::canonical_alias

Type Alias PossiblyRedactedRoomCanonicalAliasEventContent

Source
pub type PossiblyRedactedRoomCanonicalAliasEventContent = RoomCanonicalAliasEventContent;
Expand description

The possibly redacted form of RoomCanonicalAliasEventContent.

This type is used when it’s not obvious whether the content is redacted or not.

Aliased Type§

struct PossiblyRedactedRoomCanonicalAliasEventContent {
    pub alias: Option<OwnedRoomAliasId>,
    pub alt_aliases: Vec<OwnedRoomAliasId>,
}

Fields§

§alias: Option<OwnedRoomAliasId>

The canonical alias.

Rooms with alias: None should be treated the same as a room with no canonical alias.

§alt_aliases: Vec<OwnedRoomAliasId>

List of alternative aliases to the room.