pub struct MessagesPage {
pub chunk: Vec<MatrixEvent>,
pub start: String,
pub end: Option<String>,
}Expand description
One page of /messages’ timeline window — [get_messages]’s own DB-only
core, unit-tested directly.
Fields§
§chunk: Vec<MatrixEvent>§start: String§end: Option<String>None when there is nothing further this caller could ever see
beyond this page (the physical edge of the room, the caller’s own
crate::store::HistoryWindow, or an explicit to= boundary) —
NEVER None merely because a types/not_types filter thinned this
particular page (more matching events could still exist further on).
Auto Trait Implementations§
impl Freeze for MessagesPage
impl RefUnwindSafe for MessagesPage
impl Send for MessagesPage
impl Sync for MessagesPage
impl Unpin for MessagesPage
impl UnsafeUnpin for MessagesPage
impl UnwindSafe for MessagesPage
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