pub enum AssistantEvent {
TextDelta(String),
ToolUse {
id: String,
name: String,
input: String,
},
Usage(TokenUsage),
MessageStop,
}Variants§
Trait Implementations§
Source§impl Clone for AssistantEvent
impl Clone for AssistantEvent
Source§fn clone(&self) -> AssistantEvent
fn clone(&self) -> AssistantEvent
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 AssistantEvent
impl Debug for AssistantEvent
Source§impl PartialEq for AssistantEvent
impl PartialEq for AssistantEvent
impl Eq for AssistantEvent
impl StructuralPartialEq for AssistantEvent
Auto Trait Implementations§
impl Freeze for AssistantEvent
impl RefUnwindSafe for AssistantEvent
impl Send for AssistantEvent
impl Sync for AssistantEvent
impl Unpin for AssistantEvent
impl UnsafeUnpin for AssistantEvent
impl UnwindSafe for AssistantEvent
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