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