pub struct ArchiveCursor {
pub archive_id: ArchiveCursorId,
pub position: String,
pub event_id: Option<EventId>,
pub watermark: Option<String>,
}Expand description
Carries the archive 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§
§archive_id: ArchiveCursorIdStable archive id used for typed lineage, lookup, or dedupe.
position: StringPosition used by this record or request.
event_id: Option<EventId>Event identifier used to correlate live events with journal or replay evidence.
watermark: Option<String>Optional watermark value. When absent, callers should use the documented default or skip that optional behavior.
Trait Implementations§
Source§impl Clone for ArchiveCursor
impl Clone for ArchiveCursor
Source§fn clone(&self) -> ArchiveCursor
fn clone(&self) -> ArchiveCursor
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 ArchiveCursor
impl Debug for ArchiveCursor
Source§impl<'de> Deserialize<'de> for ArchiveCursor
impl<'de> Deserialize<'de> for ArchiveCursor
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 ArchiveCursor
impl PartialEq for ArchiveCursor
Source§fn eq(&self, other: &ArchiveCursor) -> bool
fn eq(&self, other: &ArchiveCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArchiveCursor
impl Serialize for ArchiveCursor
impl Eq for ArchiveCursor
impl StructuralPartialEq for ArchiveCursor
Auto Trait Implementations§
impl Freeze for ArchiveCursor
impl RefUnwindSafe for ArchiveCursor
impl Send for ArchiveCursor
impl Sync for ArchiveCursor
impl Unpin for ArchiveCursor
impl UnsafeUnpin for ArchiveCursor
impl UnwindSafe for ArchiveCursor
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