pub enum OpenAiCompatStreamEvent {
ContentDelta {
text: String,
},
ToolCallDelta {
id: String,
ordinal: u64,
index: u64,
name: Option<String>,
arguments: Option<String>,
},
FinishReason {
reason: String,
},
Usage(OpenAiCompatUsage),
Done,
}Variants§
Trait Implementations§
Source§impl Clone for OpenAiCompatStreamEvent
impl Clone for OpenAiCompatStreamEvent
Source§impl Debug for OpenAiCompatStreamEvent
impl Debug for OpenAiCompatStreamEvent
impl Eq for OpenAiCompatStreamEvent
Source§impl PartialEq for OpenAiCompatStreamEvent
impl PartialEq for OpenAiCompatStreamEvent
impl StructuralPartialEq for OpenAiCompatStreamEvent
Auto Trait Implementations§
impl Freeze for OpenAiCompatStreamEvent
impl RefUnwindSafe for OpenAiCompatStreamEvent
impl Send for OpenAiCompatStreamEvent
impl Sync for OpenAiCompatStreamEvent
impl Unpin for OpenAiCompatStreamEvent
impl UnsafeUnpin for OpenAiCompatStreamEvent
impl UnwindSafe for OpenAiCompatStreamEvent
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