pub struct RunRecord {
pub timestamp: String,
pub date: String,
pub provider: String,
pub images: usize,
pub modified: usize,
pub dropped: usize,
pub svgs_rasterized: usize,
pub bytes_before: usize,
pub bytes_after: usize,
pub token_savings: TokenSavings,
pub duration_ms: u64,
pub action_counts: Vec<(String, usize)>,
}Expand description
A single run record persisted to the stats file.
Fields§
§timestamp: StringISO 8601 timestamp
date: StringDate portion (YYYY-MM-DD) for daily aggregation
provider: StringProvider used
images: usizeNumber of images processed
modified: usizeNumber of images modified
dropped: usizeNumber of images dropped (economy mode excess, SVG source mode)
svgs_rasterized: usizeNumber of SVGs rasterized
bytes_before: usizeByte sizes
bytes_after: usize§token_savings: TokenSavingsToken savings
duration_ms: u64Pipeline execution time in milliseconds
action_counts: Vec<(String, usize)>Per-action counts: (action_name, count)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
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 RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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