pub struct SessionUsageUpdatedEvent {
pub event_id: Option<String>,
pub client_event_id: Option<String>,
pub usage: SessionUsage,
pub context_window: Option<ContextWindowUsage>,
}Expand description
Updated cumulative usage and optional context-window utilization.
Fields§
§event_id: Option<String>§client_event_id: Option<String>§usage: SessionUsage§context_window: Option<ContextWindowUsage>Trait Implementations§
Source§impl Clone for SessionUsageUpdatedEvent
impl Clone for SessionUsageUpdatedEvent
Source§impl Debug for SessionUsageUpdatedEvent
impl Debug for SessionUsageUpdatedEvent
Source§impl<'de> Deserialize<'de> for SessionUsageUpdatedEvent
impl<'de> Deserialize<'de> for SessionUsageUpdatedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionUsageUpdatedEvent
impl RefUnwindSafe for SessionUsageUpdatedEvent
impl Send for SessionUsageUpdatedEvent
impl Sync for SessionUsageUpdatedEvent
impl Unpin for SessionUsageUpdatedEvent
impl UnsafeUnpin for SessionUsageUpdatedEvent
impl UnwindSafe for SessionUsageUpdatedEvent
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