pub type SyncRoomHistoryVisibilityEvent = SyncStateEvent<RoomHistoryVisibilityEventContent>;
Expand description
An m.room.history_visibility
event from a sync_events
response.
Aliased Type§
enum SyncRoomHistoryVisibilityEvent {
Original(OriginalSyncStateEvent<RoomHistoryVisibilityEventContent>),
Redacted(RedactedSyncStateEvent<RedactedRoomHistoryVisibilityEventContent>),
}
Variants§
Original(OriginalSyncStateEvent<RoomHistoryVisibilityEventContent>)
Original, unredacted form of the event.
Redacted(RedactedSyncStateEvent<RedactedRoomHistoryVisibilityEventContent>)
Redacted form of the event with minimal fields.
Implementations§
Source§impl SyncRoomHistoryVisibilityEvent
impl SyncRoomHistoryVisibilityEvent
Sourcepub fn history_visibility(&self) -> &HistoryVisibility
pub fn history_visibility(&self) -> &HistoryVisibility
Obtain the history visibility, regardless of whether this event is redacted.