pub struct CreateChatCompletionStreamResponse {
pub id: String,
pub object: String,
pub created: u32,
pub model: String,
pub choices: Vec<ChatCompletionResponseStreamMessage>,
}
Fields§
§id: String
§object: String
§created: u32
§model: String
§choices: Vec<ChatCompletionResponseStreamMessage>
Trait Implementations§
source§impl Clone for CreateChatCompletionStreamResponse
impl Clone for CreateChatCompletionStreamResponse
source§fn clone(&self) -> CreateChatCompletionStreamResponse
fn clone(&self) -> CreateChatCompletionStreamResponse
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<'de> Deserialize<'de> for CreateChatCompletionStreamResponse
impl<'de> Deserialize<'de> for CreateChatCompletionStreamResponse
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 PartialEq<CreateChatCompletionStreamResponse> for CreateChatCompletionStreamResponse
impl PartialEq<CreateChatCompletionStreamResponse> for CreateChatCompletionStreamResponse
source§fn eq(&self, other: &CreateChatCompletionStreamResponse) -> bool
fn eq(&self, other: &CreateChatCompletionStreamResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateChatCompletionStreamResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateChatCompletionStreamResponse
impl Send for CreateChatCompletionStreamResponse
impl Sync for CreateChatCompletionStreamResponse
impl Unpin for CreateChatCompletionStreamResponse
impl UnwindSafe for CreateChatCompletionStreamResponse
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