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

pub struct JoinedRoom {
    pub unread_notifications: UnreadNotificationsCount,
    pub timeline: Timeline,
    pub state: State,
    pub account_data: AccountData,
    pub ephemeral: Ephemeral,
}

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: State

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: AccountData

The private data that this user has attached to this room.

ephemeral: Ephemeral

The ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.

Trait Implementations

impl Clone for JoinedRoom[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for JoinedRoom[src]

impl Serialize for JoinedRoom[src]

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

Auto Trait Implementations

impl Send for JoinedRoom

impl Sync for JoinedRoom

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<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> Any for T where
    T: 'static + ?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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T