Enum matrix_sdk_base::RoomType 
source · [−]pub enum RoomType {
    Joined,
    Left,
    Invited,
}Expand description
Enum keeping track in which state the room is, e.g. if our own user is joined, invited, or has left the room.
Variants
Joined
The room is in a joined state.
Left
The room is in a left state.
Invited
The room is in a invited state.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RoomType
 
impl<'de> Deserialize<'de> for RoomType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RoomType
impl Eq for RoomType
impl StructuralEq for RoomType
impl StructuralPartialEq for RoomType
Auto Trait Implementations
impl RefUnwindSafe for RoomType
impl Send for RoomType
impl Sync for RoomType
impl Unpin for RoomType
impl UnwindSafe for RoomType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.