pub struct Trajectory {
pub schema_version: String,
pub session_id: Option<String>,
pub trajectory_id: Option<String>,
pub agent: Agent,
pub steps: Vec<Step>,
pub notes: Option<String>,
pub final_metrics: Option<FinalMetrics>,
pub continued_trajectory_ref: Option<String>,
pub subagent_trajectories: Option<Vec<Trajectory>>,
pub extra: Option<Value>,
}Expand description
Root trajectory object.
Fields§
§schema_version: String"ATIF-vX.Y".
session_id: Option<String>Run-scoped session id (optional since v1.7).
trajectory_id: Option<String>Unique trajectory id (v1.7, for single-file subagent embedding).
agent: AgentAgent configuration.
steps: Vec<Step>Ordered interaction steps (step_id sequential from 1).
notes: Option<String>Custom information, design notes, or explanations.
final_metrics: Option<FinalMetrics>Aggregate metrics.
continued_trajectory_ref: Option<String>Reference to a continuation trajectory file.
subagent_trajectories: Option<Vec<Trajectory>>Embedded subagent trajectories (v1.7).
extra: Option<Value>Custom metadata (v1.1).
Trait Implementations§
Source§impl Clone for Trajectory
impl Clone for Trajectory
Source§fn clone(&self) -> Trajectory
fn clone(&self) -> Trajectory
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 Trajectory
impl Debug for Trajectory
Source§impl<'de> Deserialize<'de> for Trajectory
impl<'de> Deserialize<'de> for Trajectory
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 Trajectory
impl PartialEq for Trajectory
Source§fn eq(&self, other: &Trajectory) -> bool
fn eq(&self, other: &Trajectory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Trajectory
impl Serialize for Trajectory
impl StructuralPartialEq for Trajectory
Auto Trait Implementations§
impl Freeze for Trajectory
impl RefUnwindSafe for Trajectory
impl Send for Trajectory
impl Sync for Trajectory
impl Unpin for Trajectory
impl UnsafeUnpin for Trajectory
impl UnwindSafe for Trajectory
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