pub struct ChatCompletionMessageList {
pub data: Vec<ChatCompletionMessageListData>,
pub first_id: String,
pub has_more: bool,
pub last_id: String,
pub object: String,
}Fields§
§data: Vec<ChatCompletionMessageListData>An array of chat completion message objects.
first_id: StringThe identifier of the first chat message in the data array.
has_more: boolIndicates whether there are more chat messages available.
last_id: StringThe identifier of the last chat message in the data array.
object: StringThe 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