Enum ruma_events::room::guest_access::GuestAccess [−][src]
pub enum GuestAccess { CanJoin, Forbidden, // some variants omitted }
Expand description
A policy for guest user access to a room.
Variants
Guests are allowed to join the room.
Guests are not allowed to join the room.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GuestAccess
impl Send for GuestAccess
impl Sync for GuestAccess
impl Unpin for GuestAccess
impl UnwindSafe for GuestAccess
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V