pub struct AgentToolResult {
pub content: Vec<Part>,
pub is_error: bool,
}Fields§
§content: Vec<Part>§is_error: boolTrait Implementations§
Source§impl Clone for AgentToolResult
impl Clone for AgentToolResult
Source§fn clone(&self) -> AgentToolResult
fn clone(&self) -> AgentToolResult
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 moreAuto Trait Implementations§
impl Freeze for AgentToolResult
impl RefUnwindSafe for AgentToolResult
impl Send for AgentToolResult
impl Sync for AgentToolResult
impl Unpin for AgentToolResult
impl UnwindSafe for AgentToolResult
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