Type Alias ruma_events::room::guest_access::SyncRoomGuestAccessEvent

source ·
pub type SyncRoomGuestAccessEvent = SyncStateEvent<RoomGuestAccessEventContent>;
Expand description

An m.room.guest_access event from a sync_events response.

Aliased Type§

enum SyncRoomGuestAccessEvent {
    Original(OriginalSyncStateEvent<RoomGuestAccessEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedRoomGuestAccessEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<RoomGuestAccessEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedRoomGuestAccessEventContent>)

Redacted form of the event with minimal fields.

Implementations§

source§

impl SyncRoomGuestAccessEvent

source

pub fn guest_access(&self) -> &GuestAccess

Obtain the guest access policy, regardless of whether this event is redacted.