Struct matrix_sdk_base::sync::JoinedRoom
source · pub struct JoinedRoom {
pub unread_notifications: UnreadNotificationsCount,
pub timeline: Timeline,
pub state: Vec<Raw<AnySyncStateEvent>>,
pub account_data: Vec<Raw<AnyRoomAccountDataEvent>>,
pub ephemeral: Vec<Raw<AnySyncEphemeralRoomEvent>>,
}
Expand description
Updates to joined rooms.
Fields§
§unread_notifications: UnreadNotificationsCount
Counts of unread notifications for this room.
timeline: Timeline
The timeline of messages and state changes in the room.
state: Vec<Raw<AnySyncStateEvent>>
Updates to the state, between the time indicated by the since
parameter, and the start of the timeline
(or all state up to the
start of the timeline
, if since
is not given, or full_state
is
true).
account_data: Vec<Raw<AnyRoomAccountDataEvent>>
The private data that this user has attached to this room.
ephemeral: Vec<Raw<AnySyncEphemeralRoomEvent>>
The ephemeral events in the room that aren’t recorded in the timeline or state of the room. e.g. typing.
Trait Implementations§
source§impl Clone for JoinedRoom
impl Clone for JoinedRoom
source§fn clone(&self) -> JoinedRoom
fn clone(&self) -> JoinedRoom
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JoinedRoom
Available on non-tarpaulin_include
only.
impl Debug for JoinedRoom
Available on non-
tarpaulin_include
only.source§impl Default for JoinedRoom
impl Default for JoinedRoom
source§fn default() -> JoinedRoom
fn default() -> JoinedRoom
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for JoinedRoom
impl Send for JoinedRoom
impl Sync for JoinedRoom
impl Unpin for JoinedRoom
impl UnwindSafe for JoinedRoom
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more