pub struct Session {
pub tokens: u64,
pub cache_read: u64,
pub input: u64,
pub output: u64,
pub cache_creation: u64,
pub cost: f64,
pub last_ts: f64,
pub first_ts: f64,
pub model: Option<String>,
pub cwd: Option<String>,
}Expand description
A logical session chunk that feeds bucket_aggregates.
Fields§
§tokens: u64§cache_read: u64§input: u64§output: u64§cache_creation: u64§cost: f64§last_ts: f64§first_ts: f64§model: Option<String>§cwd: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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