pub struct EventCursor {
pub scope: EventStreamScope,
pub event_seq: u64,
pub event_id: EventId,
pub journal_cursor: Option<JournalCursor>,
}Expand description
Carries the event cursor record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§scope: EventStreamScopeScope used by this record or request.
event_seq: u64Event seq used by this record or request.
event_id: EventIdEvent identifier used to correlate live events with journal or replay evidence.
journal_cursor: Option<JournalCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
Trait Implementations§
Source§impl Clone for EventCursor
impl Clone for EventCursor
Source§fn clone(&self) -> EventCursor
fn clone(&self) -> EventCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventCursor
impl Debug for EventCursor
Source§impl<'de> Deserialize<'de> for EventCursor
impl<'de> Deserialize<'de> for EventCursor
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
Source§impl PartialEq for EventCursor
impl PartialEq for EventCursor
Source§fn eq(&self, other: &EventCursor) -> bool
fn eq(&self, other: &EventCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventCursor
impl Serialize for EventCursor
impl Eq for EventCursor
impl StructuralPartialEq for EventCursor
Auto Trait Implementations§
impl Freeze for EventCursor
impl RefUnwindSafe for EventCursor
impl Send for EventCursor
impl Sync for EventCursor
impl Unpin for EventCursor
impl UnsafeUnpin for EventCursor
impl UnwindSafe for EventCursor
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