pub enum CaptureEvent {
RequestStarted {
session_id: String,
seq: u64,
started_at: DateTime<Utc>,
model: Option<String>,
},
RequestCompleted {
session_id: String,
seq: u64,
duration_ms: u64,
status: u16,
request_id: Option<String>,
usage: Option<Usage>,
has_error: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for CaptureEvent
impl Clone for CaptureEvent
Source§fn clone(&self) -> CaptureEvent
fn clone(&self) -> CaptureEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaptureEvent
impl Debug for CaptureEvent
Auto Trait Implementations§
impl Freeze for CaptureEvent
impl RefUnwindSafe for CaptureEvent
impl Send for CaptureEvent
impl Sync for CaptureEvent
impl Unpin for CaptureEvent
impl UnsafeUnpin for CaptureEvent
impl UnwindSafe for CaptureEvent
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