pub struct ChatCompletionChunk {
pub id: String,
pub object: String,
pub created: u64,
pub model: String,
pub choices: Vec<ChunkChoice>,
pub usage: Option<Usage>,
}Fields§
§id: String§object: String§created: u64§model: String§choices: Vec<ChunkChoice>§usage: Option<Usage>Trait Implementations§
Source§impl Debug for ChatCompletionChunk
impl Debug for ChatCompletionChunk
Auto Trait Implementations§
impl Freeze for ChatCompletionChunk
impl RefUnwindSafe for ChatCompletionChunk
impl Send for ChatCompletionChunk
impl Sync for ChatCompletionChunk
impl Unpin for ChatCompletionChunk
impl UnsafeUnpin for ChatCompletionChunk
impl UnwindSafe for ChatCompletionChunk
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