Type Alias ruma::events::room::canonical_alias::PossiblyRedactedRoomCanonicalAliasEventContent
source · pub type PossiblyRedactedRoomCanonicalAliasEventContent = RoomCanonicalAliasEventContent;
Available on crate feature
events
only.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.