[][src]Struct gm_types::sync::JoinedRoom

pub struct JoinedRoom {
    pub state: Events,
    pub timeline: Timeline,
    pub ephemeral: Events,
    pub account_data: Events,
    pub unread_notifications: UnreadNotificationCounts,
}

Information about a room the user has joined.

Fields

state: Events

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).

timeline: Timeline

The timeline of messages and state changes in the room.

ephemeral: Events

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

account_data: Events

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

unread_notifications: UnreadNotificationCounts

Counts of unread notifications for this room.

Trait Implementations

impl Debug 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, 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]