pub struct ChatStreamChunkChoice {
pub index: u32,
pub delta: ChatStreamChunkChoiceDelta,
pub finish_reason: Option<String>,
}Fields§
§index: u32§delta: ChatStreamChunkChoiceDelta§finish_reason: Option<String>Trait Implementations§
Source§impl Clone for ChatStreamChunkChoice
impl Clone for ChatStreamChunkChoice
Source§fn clone(&self) -> ChatStreamChunkChoice
fn clone(&self) -> ChatStreamChunkChoice
Returns a duplicate 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 ChatStreamChunkChoice
impl Debug for ChatStreamChunkChoice
Source§impl<'de> Deserialize<'de> for ChatStreamChunkChoice
impl<'de> Deserialize<'de> for ChatStreamChunkChoice
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 ChatStreamChunkChoice
impl RefUnwindSafe for ChatStreamChunkChoice
impl Send for ChatStreamChunkChoice
impl Sync for ChatStreamChunkChoice
impl Unpin for ChatStreamChunkChoice
impl UnwindSafe for ChatStreamChunkChoice
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