Struct ruma_client_api::r0::sync::sync_events::Timeline
[−]
[src]
pub struct Timeline {
pub limited: bool,
pub prev_batch: String,
pub events: Vec<StateEvent>,
}Events in the room.
Fields
limited: bool
True if the number of events returned was limited by the limit on the filter.
prev_batch: String
A token that can be supplied to to the from parameter of the
/rooms/{roomId}/messages endpoint.
events: Vec<StateEvent>
A list of events.
Trait Implementations
impl Clone for Timeline[src]
fn clone(&self) -> Timeline
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