pub struct ToolProgress<P: Clone + Serialize> {
pub tool_use_id: String,
pub data: P,
}Expand description
Tool progress with tool use ID
Fields§
§tool_use_id: String§data: PTrait Implementations§
Source§impl<P: Clone + Clone + Serialize> Clone for ToolProgress<P>
impl<P: Clone + Clone + Serialize> Clone for ToolProgress<P>
Source§fn clone(&self) -> ToolProgress<P>
fn clone(&self) -> ToolProgress<P>
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<'de, P> Deserialize<'de> for ToolProgress<P>
impl<'de, P> Deserialize<'de> for ToolProgress<P>
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<P> Freeze for ToolProgress<P>where
P: Freeze,
impl<P> RefUnwindSafe for ToolProgress<P>where
P: RefUnwindSafe,
impl<P> Send for ToolProgress<P>where
P: Send,
impl<P> Sync for ToolProgress<P>where
P: Sync,
impl<P> Unpin for ToolProgress<P>where
P: Unpin,
impl<P> UnsafeUnpin for ToolProgress<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for ToolProgress<P>where
P: UnwindSafe,
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