pub struct TrajectoryRecord {
pub schema_version: u32,
pub seq: u64,
pub run_id: Option<String>,
pub parent_run_id: Option<String>,
pub depth: usize,
pub recorded_at_unix_ms: u64,
pub payload: TrajectoryPayload,
}Expand description
One durable record emitted from a run.
Each record carries a monotonic per-run seq, an optional
run_id (resolved as soon as the loop emits
AgentEvent::RunIdentified; None for events that precede
it), and a typed TrajectoryPayload.
Fields§
§schema_version: u32Schema version this record was written with. New records are
stamped with TRAJECTORY_SCHEMA_VERSION; records written before
versioning existed deserialize as 0.
seq: u64§run_id: Option<String>§parent_run_id: Option<String>§depth: usize§recorded_at_unix_ms: u64UNIX milliseconds at the time the record was produced.
payload: TrajectoryPayloadTrait Implementations§
Source§impl Clone for TrajectoryRecord
impl Clone for TrajectoryRecord
Source§fn clone(&self) -> TrajectoryRecord
fn clone(&self) -> TrajectoryRecord
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 TrajectoryRecord
impl Debug for TrajectoryRecord
Source§impl<'de> Deserialize<'de> for TrajectoryRecord
impl<'de> Deserialize<'de> for TrajectoryRecord
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
Auto Trait Implementations§
impl Freeze for TrajectoryRecord
impl RefUnwindSafe for TrajectoryRecord
impl Send for TrajectoryRecord
impl Sync for TrajectoryRecord
impl Unpin for TrajectoryRecord
impl UnsafeUnpin for TrajectoryRecord
impl UnwindSafe for TrajectoryRecord
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