[][src]Struct ruma_client_api::r0::sync::sync_events::Rooms

pub struct Rooms {
    pub leave: HashMap<RoomId, LeftRoom>,
    pub join: HashMap<RoomId, JoinedRoom>,
    pub invite: HashMap<RoomId, InvitedRoom>,
}

Updates to rooms.

Fields

leave: HashMap<RoomId, LeftRoom>

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

join: HashMap<RoomId, JoinedRoom>

The rooms that the user has joined.

invite: HashMap<RoomId, InvitedRoom>

The rooms that the user has been invited to.

Trait Implementations

impl Clone for Rooms[src]

impl Debug for Rooms[src]

impl Outgoing for Rooms[src]

type Incoming = IncomingRooms

The 'Incoming' variant of Self.

impl Serialize for Rooms[src]

Auto Trait Implementations

impl RefUnwindSafe for Rooms

impl Send for Rooms

impl Sync for Rooms

impl Unpin for Rooms

impl UnwindSafe for Rooms

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,