pub struct EffectSpan {
pub node_id: String,
pub turn: usize,
pub effect: String,
pub started_ts: Option<DateTime<Utc>>,
pub finished_ts: Option<DateTime<Utc>>,
pub duration_ms: Option<u64>,
pub replayed: bool,
pub is_error: bool,
pub outcome: String,
}Expand description
One effect’s execution inside a step — the gantt substrate for
agent runs, the per-effect analogue of NodeSpan. An unclosed
span (outcome: "running") means the run died mid-effect.
Fields§
§node_id: StringStep node the effect ran inside.
turn: usizeTurn index within the step’s loop.
effect: StringEffect::label() — e.g. llm:qwen2.5:14b, tool:search.
started_ts: Option<DateTime<Utc>>Envelope timestamp of the opening event.
finished_ts: Option<DateTime<Utc>>Envelope timestamp of the closing event.
duration_ms: Option<u64>Wall time between the two envelope timestamps.
replayed: boolServed from the journal instead of being performed.
is_error: boolThe effect completed carrying an error result.
outcome: Stringcompleted | running.
Trait Implementations§
Source§impl Clone for EffectSpan
impl Clone for EffectSpan
Source§fn clone(&self) -> EffectSpan
fn clone(&self) -> EffectSpan
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 EffectSpan
impl Debug for EffectSpan
Source§impl<'de> Deserialize<'de> for EffectSpan
impl<'de> Deserialize<'de> for EffectSpan
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 EffectSpan
impl PartialEq for EffectSpan
Source§impl Serialize for EffectSpan
impl Serialize for EffectSpan
impl StructuralPartialEq for EffectSpan
Auto Trait Implementations§
impl Freeze for EffectSpan
impl RefUnwindSafe for EffectSpan
impl Send for EffectSpan
impl Sync for EffectSpan
impl Unpin for EffectSpan
impl UnsafeUnpin for EffectSpan
impl UnwindSafe for EffectSpan
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