pub struct ChatCompletionsResponse {
pub id: String,
pub object: String,
pub created: usize,
pub model: String,
pub choices: Vec<Choice>,
}
Fields§
§id: String
§object: String
§created: usize
§model: String
§choices: Vec<Choice>
Trait Implementations§
Source§impl Clone for ChatCompletionsResponse
impl Clone for ChatCompletionsResponse
Source§fn clone(&self) -> ChatCompletionsResponse
fn clone(&self) -> ChatCompletionsResponse
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 Debug for ChatCompletionsResponse
impl Debug for ChatCompletionsResponse
Source§impl<'de> Deserialize<'de> for ChatCompletionsResponse
impl<'de> Deserialize<'de> for ChatCompletionsResponse
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 Freeze for ChatCompletionsResponse
impl RefUnwindSafe for ChatCompletionsResponse
impl Send for ChatCompletionsResponse
impl Sync for ChatCompletionsResponse
impl Unpin for ChatCompletionsResponse
impl UnwindSafe for ChatCompletionsResponse
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