pub struct DayStat {
pub date: String,
pub events: usize,
pub commits: usize,
pub sessions: usize,
pub file_edits: Vec<FileEditStat>,
pub cost_usd: f64,
pub execution_count: u64,
pub success_count: u64,
}Expand description
Daily statistics.
Fields§
§date: String§events: usize§commits: usize§sessions: usize§file_edits: Vec<FileEditStat>Per-file edit statistics for this day.
cost_usd: f64Total cost in USD from execution events.
execution_count: u64Number of execution events.
success_count: u64Number of successful execution events.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DayStat
impl<'de> Deserialize<'de> for DayStat
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 DayStat
impl RefUnwindSafe for DayStat
impl Send for DayStat
impl Sync for DayStat
impl Unpin for DayStat
impl UnsafeUnpin for DayStat
impl UnwindSafe for DayStat
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