pub struct ToolUseState {
pub id: String,
pub name: String,
pub input: Value,
pub caller: Option<ToolCaller>,
pub input_buffer: String,
}Fields§
§id: String§name: String§input: Value§caller: Option<ToolCaller>§input_buffer: StringTrait Implementations§
Source§impl Clone for ToolUseState
impl Clone for ToolUseState
Source§fn clone(&self) -> ToolUseState
fn clone(&self) -> ToolUseState
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 moreAuto Trait Implementations§
impl Freeze for ToolUseState
impl RefUnwindSafe for ToolUseState
impl Send for ToolUseState
impl Sync for ToolUseState
impl Unpin for ToolUseState
impl UnsafeUnpin for ToolUseState
impl UnwindSafe for ToolUseState
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