pub struct EventPage {
pub latest_sequence: u64,
pub events: Vec<JournalEvent>,
pub next_before_sequence: Option<u64>,
}Expand description
One newest-first page of normalized session events.
Fields§
§latest_sequence: u64Durable sequence high-water, including intentionally discarded transient events.
events: Vec<JournalEvent>§next_before_sequence: Option<u64>Implementations§
Source§impl EventPage
impl EventPage
Sourcepub fn into_chronological(self) -> Vec<JournalEvent>
pub fn into_chronological(self) -> Vec<JournalEvent>
Returns this newest-first page in replay order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventPage
impl<'de> Deserialize<'de> for EventPage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for EventPage
Auto Trait Implementations§
impl Freeze for EventPage
impl RefUnwindSafe for EventPage
impl Send for EventPage
impl Sync for EventPage
impl Unpin for EventPage
impl UnsafeUnpin for EventPage
impl UnwindSafe for EventPage
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