pub struct NamedToolChoice {
pub kind: String,
pub function: FunctionName,
}Expand description
Named tool choice: {"type":"function","function":{"name":"..."}}.
Fields§
§kind: String§function: FunctionNameTrait Implementations§
Source§impl Clone for NamedToolChoice
impl Clone for NamedToolChoice
Source§fn clone(&self) -> NamedToolChoice
fn clone(&self) -> NamedToolChoice
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 NamedToolChoice
impl Debug for NamedToolChoice
Source§impl<'de> Deserialize<'de> for NamedToolChoice
impl<'de> Deserialize<'de> for NamedToolChoice
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 NamedToolChoice
impl PartialEq for NamedToolChoice
Source§impl Serialize for NamedToolChoice
impl Serialize for NamedToolChoice
impl StructuralPartialEq for NamedToolChoice
Auto Trait Implementations§
impl Freeze for NamedToolChoice
impl RefUnwindSafe for NamedToolChoice
impl Send for NamedToolChoice
impl Sync for NamedToolChoice
impl Unpin for NamedToolChoice
impl UnsafeUnpin for NamedToolChoice
impl UnwindSafe for NamedToolChoice
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