pub type RoomPowerLevelsEvent = StateEvent<RoomPowerLevelsEventContent>;
Expand description
An m.room.power_levels
event.
Aliased Type§
enum RoomPowerLevelsEvent {
Original(OriginalStateEvent<RoomPowerLevelsEventContent>),
Redacted(RedactedStateEvent<RedactedRoomPowerLevelsEventContent>),
}
Variants§
Original(OriginalStateEvent<RoomPowerLevelsEventContent>)
Original, unredacted form of the event.
Redacted(RedactedStateEvent<RedactedRoomPowerLevelsEventContent>)
Redacted form of the event with minimal fields.
Implementations§
Source§impl RoomPowerLevelsEvent
impl RoomPowerLevelsEvent
Sourcepub fn power_levels(&self) -> RoomPowerLevels
pub fn power_levels(&self) -> RoomPowerLevels
Obtain the effective power levels, regardless of whether this event is redacted.