pub struct TraceToolCallOutput {
pub outcome: TraceToolCallOutcome,
pub control: Option<Value>,
}Fields§
§outcome: TraceToolCallOutcome§control: Option<Value>Implementations§
Source§impl TraceToolCallOutput
impl TraceToolCallOutput
pub fn status(&self) -> TraceToolCallStatus
pub fn is_success(&self) -> bool
pub fn value_for_projection(&self) -> Value
Trait Implementations§
Source§impl Clone for TraceToolCallOutput
impl Clone for TraceToolCallOutput
Source§fn clone(&self) -> TraceToolCallOutput
fn clone(&self) -> TraceToolCallOutput
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 TraceToolCallOutput
impl Debug for TraceToolCallOutput
Source§impl<'de> Deserialize<'de> for TraceToolCallOutput
impl<'de> Deserialize<'de> for TraceToolCallOutput
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 TraceToolCallOutput
impl PartialEq for TraceToolCallOutput
Source§fn eq(&self, other: &TraceToolCallOutput) -> bool
fn eq(&self, other: &TraceToolCallOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceToolCallOutput
impl Serialize for TraceToolCallOutput
impl StructuralPartialEq for TraceToolCallOutput
Auto Trait Implementations§
impl Freeze for TraceToolCallOutput
impl RefUnwindSafe for TraceToolCallOutput
impl Send for TraceToolCallOutput
impl Sync for TraceToolCallOutput
impl Unpin for TraceToolCallOutput
impl UnsafeUnpin for TraceToolCallOutput
impl UnwindSafe for TraceToolCallOutput
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