#[non_exhaustive]pub struct RunSummary {
pub run_id: String,
pub status: RunStatus,
pub error: Option<String>,
pub error_type: Option<String>,
pub latency_ms: u64,
pub usage: Usage,
pub output: Value,
pub outputs: Map<String, Value>,
pub answer: String,
pub tool_calls: Vec<ToolCallRecord>,
pub retrieval: Vec<RetrievalHit>,
pub events: Option<Vec<Event>>,
}Expand description
What the run produced, as reported.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.run_id: String§status: RunStatus§error: Option<String>§error_type: Option<String>§latency_ms: u64§usage: Usage§output: ValueThe value assertions check by default (see RunCapture::output).
outputs: Map<String, Value>§answer: String§tool_calls: Vec<ToolCallRecord>§retrieval: Vec<RetrievalHit>§events: Option<Vec<Event>>Every event but node_chunk (only with keep_events).
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§impl Debug for RunSummary
impl Debug for RunSummary
Source§impl Default for RunSummary
impl Default for RunSummary
Source§impl<'de> Deserialize<'de> for RunSummary
impl<'de> Deserialize<'de> for RunSummary
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 RunSummary
impl PartialEq for RunSummary
Source§impl Serialize for RunSummary
impl Serialize for RunSummary
impl StructuralPartialEq for RunSummary
Auto Trait Implementations§
impl Forget for RunSummary
impl Freeze for RunSummary
impl Move for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnsafeUnpin for RunSummary
impl UnwindSafe for RunSummary
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