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