pub struct ToolCorrelationFacts {
pub tool_name: Option<String>,
pub outcome: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Typed view of tool.result’s correlation_facts — the fields consumers
key on: tool_name drives the tool.<name>-task attribution match, and
outcome classifies the result. Every field is optional and unknown
keys round-trip via extra, so a wire addition widens rather than
breaks.
Fields§
§tool_name: Option<String>Tool that produced this result (matches the tool.<tool_name> task
kind). Observed values: write_file, read_file, bash.
outcome: Option<String>"success" or "failure" as observed on the wire.
extra: Map<String, Value>Trait Implementations§
Source§impl Clone for ToolCorrelationFacts
impl Clone for ToolCorrelationFacts
Source§fn clone(&self) -> ToolCorrelationFacts
fn clone(&self) -> ToolCorrelationFacts
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 ToolCorrelationFacts
impl Debug for ToolCorrelationFacts
Source§impl Default for ToolCorrelationFacts
impl Default for ToolCorrelationFacts
Source§fn default() -> ToolCorrelationFacts
fn default() -> ToolCorrelationFacts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCorrelationFacts
impl<'de> Deserialize<'de> for ToolCorrelationFacts
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 ToolCorrelationFacts
impl PartialEq for ToolCorrelationFacts
Source§impl Serialize for ToolCorrelationFacts
impl Serialize for ToolCorrelationFacts
impl StructuralPartialEq for ToolCorrelationFacts
Auto Trait Implementations§
impl Freeze for ToolCorrelationFacts
impl RefUnwindSafe for ToolCorrelationFacts
impl Send for ToolCorrelationFacts
impl Sync for ToolCorrelationFacts
impl Unpin for ToolCorrelationFacts
impl UnsafeUnpin for ToolCorrelationFacts
impl UnwindSafe for ToolCorrelationFacts
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