Struct matrix_sdk_base::sync::Timeline
source · pub struct Timeline {
pub limited: bool,
pub prev_batch: Option<String>,
pub events: Vec<SyncTimelineEvent>,
}
Expand description
Events in the room.
Fields§
§limited: 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<SyncTimelineEvent>
A list of events.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Timeline
impl Send for Timeline
impl Sync for Timeline
impl Unpin for Timeline
impl UnwindSafe for Timeline
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