pub struct RecordedCall {
pub name: String,
pub input: Value,
pub output: String,
pub is_error: bool,
}Expand description
One recorded tool call, paired with what it returned.
Fields§
§name: String§input: Value§output: StringWhat the tool returned at record time. Replayed verbatim.
is_error: boolTrait Implementations§
Source§impl Clone for RecordedCall
impl Clone for RecordedCall
Source§fn clone(&self) -> RecordedCall
fn clone(&self) -> RecordedCall
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 RecordedCall
impl Debug for RecordedCall
Source§impl<'de> Deserialize<'de> for RecordedCall
impl<'de> Deserialize<'de> for RecordedCall
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
Auto Trait Implementations§
impl Freeze for RecordedCall
impl RefUnwindSafe for RecordedCall
impl Send for RecordedCall
impl Sync for RecordedCall
impl Unpin for RecordedCall
impl UnsafeUnpin for RecordedCall
impl UnwindSafe for RecordedCall
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