Struct SopStepResult
pub struct SopStepResult {
pub step_number: u32,
pub status: SopStepStatus,
pub output: String,
pub started_at: String,
pub completed_at: Option<String>,
pub effective_agent: Option<String>,
pub tool_calls: Vec<StepToolCall>,
}Expand description
Result of executing a single SOP step.
Fields§
§step_number: u32§status: SopStepStatus§output: String§started_at: String§completed_at: Option<String>§effective_agent: Option<String>The agent whose policy/tools/provider actually executed this step —
the acting authority the audit record must name. For a step that
delegated to a different agent this is the step agent, not the turn’s
outer agent; None for deterministic/checkpoint steps, drivers with
no resolved alias, and legacy records persisted before capture.
tool_calls: Vec<StepToolCall>Ordered tool invocations made while executing this step. Empty for checkpoint steps and legacy records persisted before capture.
Trait Implementations§
Source§impl Clone for SopStepResult
impl Clone for SopStepResult
Source§fn clone(&self) -> SopStepResult
fn clone(&self) -> SopStepResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SopStepResult
impl Debug for SopStepResult
Source§impl<'de> Deserialize<'de> for SopStepResult
impl<'de> Deserialize<'de> for SopStepResult
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 SopStepResult
impl RefUnwindSafe for SopStepResult
impl Send for SopStepResult
impl Sync for SopStepResult
impl Unpin for SopStepResult
impl UnsafeUnpin for SopStepResult
impl UnwindSafe for SopStepResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more