[][src]Struct gm_types::sync::SyncRooms

pub struct SyncRooms {
    pub join: HashMap<Room<'static>, JoinedRoom>,
    pub invite: HashMap<Room<'static>, InvitedRoom>,
    pub leave: HashMap<Room<'static>, LeftRoom>,
}

The rooms component of a SyncReply.

Fields

join: HashMap<Room<'static>, JoinedRoom>

The rooms that the user has joined.

invite: HashMap<Room<'static>, InvitedRoom>

The rooms that the user has been invited to.

leave: HashMap<Room<'static>, LeftRoom>

The rooms that the user has left, or been banned from.

Trait Implementations

impl Debug for SyncRooms[src]

impl<'de> Deserialize<'de> for SyncRooms[src]

Auto Trait Implementations

impl Send for SyncRooms

impl Sync for SyncRooms

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]