pub struct BatchToolUse {
pub id: String,
pub name: String,
}Expand description
{id, name} of an original Batch* tool_use block, carried in
AssistantMessage::batch_tool_uses.
Fields§
§id: String§name: StringTrait Implementations§
Source§impl Clone for BatchToolUse
impl Clone for BatchToolUse
Source§fn clone(&self) -> BatchToolUse
fn clone(&self) -> BatchToolUse
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 moreSource§impl Debug for BatchToolUse
impl Debug for BatchToolUse
Source§impl<'de> Deserialize<'de> for BatchToolUse
impl<'de> Deserialize<'de> for BatchToolUse
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 BatchToolUse
impl PartialEq for BatchToolUse
Source§impl Serialize for BatchToolUse
impl Serialize for BatchToolUse
impl StructuralPartialEq for BatchToolUse
Auto Trait Implementations§
impl Freeze for BatchToolUse
impl RefUnwindSafe for BatchToolUse
impl Send for BatchToolUse
impl Sync for BatchToolUse
impl Unpin for BatchToolUse
impl UnsafeUnpin for BatchToolUse
impl UnwindSafe for BatchToolUse
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