pub struct ChatCompletionList {
pub data: Vec<CreateChatCompletionResponse>,
pub first_id: String,
pub has_more: bool,
pub last_id: String,
pub object: String,
}Fields§
§data: Vec<CreateChatCompletionResponse>An array of chat completion objects.
first_id: StringThe identifier of the first chat completion in the data array.
has_more: boolIndicates whether there are more Chat Completions available.
last_id: StringThe identifier of the last chat completion in the data array.
object: StringThe type of this object. It is always set to "list".
Trait Implementations§
Source§impl Debug for ChatCompletionList
impl Debug for ChatCompletionList
Source§impl<'de> Deserialize<'de> for ChatCompletionList
impl<'de> Deserialize<'de> for ChatCompletionList
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 ChatCompletionList
impl RefUnwindSafe for ChatCompletionList
impl Send for ChatCompletionList
impl Sync for ChatCompletionList
impl Unpin for ChatCompletionList
impl UnwindSafe for ChatCompletionList
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