pub struct PluginToolResult {
pub tool_call_id: String,
pub content: Vec<ToolResultContent>,
pub is_error: bool,
pub summary: Option<String>,
pub post_persist_actions: Vec<PostPersistAction>,
}Fields§
§tool_call_id: String§content: Vec<ToolResultContent>§is_error: bool§summary: Option<String>§post_persist_actions: Vec<PostPersistAction>Tier-2 actions to run after this tool result is persisted to the caller’s session history. Drained by the agent loop once the tool result reaches the caller’s history.
Trait Implementations§
Source§impl Clone for PluginToolResult
impl Clone for PluginToolResult
Source§fn clone(&self) -> PluginToolResult
fn clone(&self) -> PluginToolResult
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 PluginToolResult
impl Debug for PluginToolResult
Source§impl<'de> Deserialize<'de> for PluginToolResult
impl<'de> Deserialize<'de> for PluginToolResult
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 PluginToolResult
impl RefUnwindSafe for PluginToolResult
impl Send for PluginToolResult
impl Sync for PluginToolResult
impl Unpin for PluginToolResult
impl UnsafeUnpin for PluginToolResult
impl UnwindSafe for PluginToolResult
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