pub struct TelemetrySourceRecord {
pub event_family: EventFamily,
pub event_kind: EventKind,
pub event_cursor: Option<EventCursor>,
pub source_cursor: Option<TelemetrySourceCursor>,
}Expand description
Carries the telemetry source record 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§
§event_family: EventFamilyEvent family used by this record or request.
event_kind: EventKindKind discriminator for event kind. Use it to route finite match arms without parsing display text.
event_cursor: Option<EventCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
source_cursor: Option<TelemetrySourceCursor>Cursor identifying the source event or journal position. Use it to connect projections back to durable evidence.
Trait Implementations§
Source§impl Clone for TelemetrySourceRecord
impl Clone for TelemetrySourceRecord
Source§fn clone(&self) -> TelemetrySourceRecord
fn clone(&self) -> TelemetrySourceRecord
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 TelemetrySourceRecord
impl Debug for TelemetrySourceRecord
Source§impl<'de> Deserialize<'de> for TelemetrySourceRecord
impl<'de> Deserialize<'de> for TelemetrySourceRecord
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 TelemetrySourceRecord
impl PartialEq for TelemetrySourceRecord
Source§fn eq(&self, other: &TelemetrySourceRecord) -> bool
fn eq(&self, other: &TelemetrySourceRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TelemetrySourceRecord
impl Serialize for TelemetrySourceRecord
impl Eq for TelemetrySourceRecord
impl StructuralPartialEq for TelemetrySourceRecord
Auto Trait Implementations§
impl Freeze for TelemetrySourceRecord
impl RefUnwindSafe for TelemetrySourceRecord
impl Send for TelemetrySourceRecord
impl Sync for TelemetrySourceRecord
impl Unpin for TelemetrySourceRecord
impl UnsafeUnpin for TelemetrySourceRecord
impl UnwindSafe for TelemetrySourceRecord
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