Struct ruma_client_api::r0::sync::sync_events::Rooms
[−]
[src]
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]
fn clone(&self) -> Rooms
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more