pub struct ChatCompletionResponseFunctionCall {
pub id: Option<String>,
pub object: Option<String>,
pub created: Option<i32>,
pub model: Option<String>,
pub choices: Option<Vec<Choices>>,
pub usage: Option<Usage>,
}Fields§
§id: Option<String>§object: Option<String>§created: Option<i32>§model: Option<String>§choices: Option<Vec<Choices>>§usage: Option<Usage>Implementations§
Trait Implementations§
Source§impl Clone for ChatCompletionResponseFunctionCall
impl Clone for ChatCompletionResponseFunctionCall
Source§fn clone(&self) -> ChatCompletionResponseFunctionCall
fn clone(&self) -> ChatCompletionResponseFunctionCall
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 Default for ChatCompletionResponseFunctionCall
impl Default for ChatCompletionResponseFunctionCall
Source§fn default() -> ChatCompletionResponseFunctionCall
fn default() -> ChatCompletionResponseFunctionCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionResponseFunctionCall
impl<'de> Deserialize<'de> for ChatCompletionResponseFunctionCall
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 ChatCompletionResponseFunctionCall
impl PartialEq for ChatCompletionResponseFunctionCall
Source§fn eq(&self, other: &ChatCompletionResponseFunctionCall) -> bool
fn eq(&self, other: &ChatCompletionResponseFunctionCall) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatCompletionResponseFunctionCall
Auto Trait Implementations§
impl Freeze for ChatCompletionResponseFunctionCall
impl RefUnwindSafe for ChatCompletionResponseFunctionCall
impl Send for ChatCompletionResponseFunctionCall
impl Sync for ChatCompletionResponseFunctionCall
impl Unpin for ChatCompletionResponseFunctionCall
impl UnwindSafe for ChatCompletionResponseFunctionCall
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