pub struct UsageRecord {
pub timestamp: DateTime<Utc>,
pub session_id: String,
pub model: String,
pub reasoning_effort: Option<String>,
pub cwd: String,
pub account_id: Option<String>,
pub file_path: String,
pub usage: TokenUsage,
}Fields§
§timestamp: DateTime<Utc>§session_id: String§model: String§reasoning_effort: Option<String>§cwd: String§account_id: Option<String>§file_path: String§usage: TokenUsageTrait Implementations§
Source§impl Clone for UsageRecord
impl Clone for UsageRecord
Source§fn clone(&self) -> UsageRecord
fn clone(&self) -> UsageRecord
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 moreAuto Trait Implementations§
impl Freeze for UsageRecord
impl RefUnwindSafe for UsageRecord
impl Send for UsageRecord
impl Sync for UsageRecord
impl Unpin for UsageRecord
impl UnsafeUnpin for UsageRecord
impl UnwindSafe for UsageRecord
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