pub struct DiffStats {
pub rounds: usize,
pub total_original_bytes: usize,
pub total_condensed_bytes: usize,
pub average_savings: f64,
pub rounds_with_changes: usize,
}Expand description
Statistics about HTML diff performance.
Fields§
§rounds: usizeTotal rounds processed.
total_original_bytes: usizeTotal original bytes.
total_condensed_bytes: usizeTotal condensed bytes.
average_savings: f64Average savings ratio.
rounds_with_changes: usizeRounds with significant changes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffStats
impl<'de> Deserialize<'de> for DiffStats
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 DiffStats
impl RefUnwindSafe for DiffStats
impl Send for DiffStats
impl Sync for DiffStats
impl Unpin for DiffStats
impl UnwindSafe for DiffStats
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