pub struct ToolCallObservation {
pub name: String,
pub arguments: Value,
pub turn: u32,
}Expand description
One observed tool call from one assistant turn (serialized snake_case).
arguments is the model’s argument JSON as issued. If the arguments did
not parse as JSON, the raw argument string is stored wrapped in a JSON
string so the evidence is still preserved (never fabricated).
Fields§
§name: String§arguments: Value§turn: u32Assistant turn number the call was issued in (1-based).
Trait Implementations§
Source§impl Clone for ToolCallObservation
impl Clone for ToolCallObservation
Source§fn clone(&self) -> ToolCallObservation
fn clone(&self) -> ToolCallObservation
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 ToolCallObservation
impl Debug for ToolCallObservation
Source§impl<'de> Deserialize<'de> for ToolCallObservation
impl<'de> Deserialize<'de> for ToolCallObservation
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 ToolCallObservation
impl PartialEq for ToolCallObservation
Source§impl Serialize for ToolCallObservation
impl Serialize for ToolCallObservation
impl StructuralPartialEq for ToolCallObservation
Auto Trait Implementations§
impl Freeze for ToolCallObservation
impl RefUnwindSafe for ToolCallObservation
impl Send for ToolCallObservation
impl Sync for ToolCallObservation
impl Unpin for ToolCallObservation
impl UnsafeUnpin for ToolCallObservation
impl UnwindSafe for ToolCallObservation
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