pub enum ErasedStructuredCompletionEvent {
Started {
request_id: Option<String>,
model: String,
},
StructuredOutputChunk {
json_delta: String,
},
StructuredOutputReady(RawJson),
ReasoningDelta {
delta: String,
},
RefusalDelta {
delta: String,
},
Completed {
request_id: Option<String>,
finish_reason: FinishReason,
usage: Usage,
},
}Variants§
Trait Implementations§
Source§impl Clone for ErasedStructuredCompletionEvent
impl Clone for ErasedStructuredCompletionEvent
Source§fn clone(&self) -> ErasedStructuredCompletionEvent
fn clone(&self) -> ErasedStructuredCompletionEvent
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 PartialEq for ErasedStructuredCompletionEvent
impl PartialEq for ErasedStructuredCompletionEvent
Source§fn eq(&self, other: &ErasedStructuredCompletionEvent) -> bool
fn eq(&self, other: &ErasedStructuredCompletionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ErasedStructuredCompletionEvent
impl StructuralPartialEq for ErasedStructuredCompletionEvent
Auto Trait Implementations§
impl Freeze for ErasedStructuredCompletionEvent
impl RefUnwindSafe for ErasedStructuredCompletionEvent
impl Send for ErasedStructuredCompletionEvent
impl Sync for ErasedStructuredCompletionEvent
impl Unpin for ErasedStructuredCompletionEvent
impl UnsafeUnpin for ErasedStructuredCompletionEvent
impl UnwindSafe for ErasedStructuredCompletionEvent
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