pub struct ChatSuccess {
pub id: String,
pub object: String,
pub created: u64,
pub choices: Vec<ChatChoice>,
pub usage: Usage,
}
Fields§
§id: String
§object: String
§created: u64
§choices: Vec<ChatChoice>
§usage: Usage
Trait Implementations§
Source§impl Clone for ChatSuccess
impl Clone for ChatSuccess
Source§fn clone(&self) -> ChatSuccess
fn clone(&self) -> ChatSuccess
Returns a copy 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 ChatSuccess
impl Debug for ChatSuccess
Source§impl<'de> Deserialize<'de> for ChatSuccess
impl<'de> Deserialize<'de> for ChatSuccess
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 JsonRequest<ChatSuccess> for ChatRequest
impl JsonRequest<ChatSuccess> for ChatRequest
Auto Trait Implementations§
impl Freeze for ChatSuccess
impl RefUnwindSafe for ChatSuccess
impl Send for ChatSuccess
impl Sync for ChatSuccess
impl Unpin for ChatSuccess
impl UnwindSafe for ChatSuccess
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