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