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

pub struct Timeline {
    pub limited: Option<bool>,
    pub prev_batch: Option<String>,
    pub events: Vec<RoomEvent>,
}

Events in the room.

Fields

limited: Option<bool>

True if the number of events returned was limited by the limit on the filter.

prev_batch: Option<String>

A token that can be supplied to to the from parameter of the /rooms/{roomId}/messages endpoint.

events: Vec<RoomEvent>

A list of events.

Trait Implementations

impl Clone for Timeline[src]

impl Debug for Timeline[src]

impl Outgoing for Timeline[src]

type Incoming = IncomingTimeline

The 'Incoming' variant of Self.

impl Serialize for Timeline[src]

Auto Trait Implementations

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>,