pub struct ChatCompletionNamedToolChoiceFunction {
pub name: String,
}
Fields§
§name: String
The name of the function to call.
Implementations§
Trait Implementations§
Source§impl Clone for ChatCompletionNamedToolChoiceFunction
impl Clone for ChatCompletionNamedToolChoiceFunction
Source§fn clone(&self) -> ChatCompletionNamedToolChoiceFunction
fn clone(&self) -> ChatCompletionNamedToolChoiceFunction
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> Deserialize<'de> for ChatCompletionNamedToolChoiceFunction
impl<'de> Deserialize<'de> for ChatCompletionNamedToolChoiceFunction
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 ChatCompletionNamedToolChoiceFunction
impl PartialEq for ChatCompletionNamedToolChoiceFunction
Source§fn eq(&self, other: &ChatCompletionNamedToolChoiceFunction) -> bool
fn eq(&self, other: &ChatCompletionNamedToolChoiceFunction) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatCompletionNamedToolChoiceFunction
Auto Trait Implementations§
impl Freeze for ChatCompletionNamedToolChoiceFunction
impl RefUnwindSafe for ChatCompletionNamedToolChoiceFunction
impl Send for ChatCompletionNamedToolChoiceFunction
impl Sync for ChatCompletionNamedToolChoiceFunction
impl Unpin for ChatCompletionNamedToolChoiceFunction
impl UnwindSafe for ChatCompletionNamedToolChoiceFunction
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