Type Definition ruma_common::events::room::power_levels::SyncRoomPowerLevelsEvent
source · [−]pub type SyncRoomPowerLevelsEvent = SyncStateEvent<RoomPowerLevelsEventContent>;
Available on crate feature
events
only.Expand description
An m.room.power_levels
event from a sync_events
response.
Implementations
sourceimpl 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.