pub struct ToolOutcome {
pub id: String,
pub title: String,
pub status: ToolStatus,
pub detail: Option<String>,
pub slot: RosterSlot,
}Expand description
One deduplicated tool outcome, keyed by the adapter’s stable tool id.
Fields§
§id: String§title: String§status: ToolStatus§detail: Option<String>§slot: RosterSlotImplementations§
Source§impl ToolOutcome
impl ToolOutcome
Sourcepub fn evidence_label(&self) -> &'static str
pub fn evidence_label(&self) -> &'static str
Evidence label for the final observed status. A pending or running tool has no final outcome, so its evidence is unknown; a completed status proves only that the tool call finished, never that a test suite or any claimed result succeeded.
Trait Implementations§
Source§impl Clone for ToolOutcome
impl Clone for ToolOutcome
Source§fn clone(&self) -> ToolOutcome
fn clone(&self) -> ToolOutcome
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 ToolOutcome
impl Debug for ToolOutcome
Source§impl<'de> Deserialize<'de> for ToolOutcome
impl<'de> Deserialize<'de> for ToolOutcome
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
impl Eq for ToolOutcome
Source§impl PartialEq for ToolOutcome
impl PartialEq for ToolOutcome
Source§impl Serialize for ToolOutcome
impl Serialize for ToolOutcome
impl StructuralPartialEq for ToolOutcome
Auto Trait Implementations§
impl Freeze for ToolOutcome
impl RefUnwindSafe for ToolOutcome
impl Send for ToolOutcome
impl Sync for ToolOutcome
impl Unpin for ToolOutcome
impl UnsafeUnpin for ToolOutcome
impl UnwindSafe for ToolOutcome
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