pub struct StreamChoice {
pub index: u32,
pub delta: StreamDelta,
pub finish_reason: Option<String>,
}Fields§
§index: u32§delta: StreamDelta§finish_reason: Option<String>Trait Implementations§
Source§impl Debug for StreamChoice
impl Debug for StreamChoice
Auto Trait Implementations§
impl Freeze for StreamChoice
impl RefUnwindSafe for StreamChoice
impl Send for StreamChoice
impl Sync for StreamChoice
impl Unpin for StreamChoice
impl UnsafeUnpin for StreamChoice
impl UnwindSafe for StreamChoice
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