pub struct ToolResultEntry {
pub tool_name: String,
pub call_id: String,
pub output_preview: String,
pub success: bool,
}Expand description
A single tool result entry stored in the snapshot.
Fields§
§tool_name: String§call_id: String§output_preview: StringTruncated output (first N chars).
success: boolTrait Implementations§
Source§impl Clone for ToolResultEntry
impl Clone for ToolResultEntry
Source§fn clone(&self) -> ToolResultEntry
fn clone(&self) -> ToolResultEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolResultEntry
impl Debug for ToolResultEntry
Source§impl<'de> Deserialize<'de> for ToolResultEntry
impl<'de> Deserialize<'de> for ToolResultEntry
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 ToolResultEntry
impl PartialEq for ToolResultEntry
Source§impl Serialize for ToolResultEntry
impl Serialize for ToolResultEntry
impl StructuralPartialEq for ToolResultEntry
Auto Trait Implementations§
impl Freeze for ToolResultEntry
impl RefUnwindSafe for ToolResultEntry
impl Send for ToolResultEntry
impl Sync for ToolResultEntry
impl Unpin for ToolResultEntry
impl UnsafeUnpin for ToolResultEntry
impl UnwindSafe for ToolResultEntry
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