pub enum ModelStreamEvent {
TextDelta(String),
ToolCallDelta(ToolCall),
}
Expand description
Streamed event variants.
Variants§
Trait Implementations§
Source§impl Clone for ModelStreamEvent
impl Clone for ModelStreamEvent
Source§fn clone(&self) -> ModelStreamEvent
fn clone(&self) -> ModelStreamEvent
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 moreAuto Trait Implementations§
impl Freeze for ModelStreamEvent
impl RefUnwindSafe for ModelStreamEvent
impl Send for ModelStreamEvent
impl Sync for ModelStreamEvent
impl Unpin for ModelStreamEvent
impl UnwindSafe for ModelStreamEvent
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