pub struct OptimizationEstimate {
pub potential_bytes_saved: usize,
pub optimization_opportunities: Vec<String>,
pub is_worth_optimizing: bool,
}Expand description
Estimate of potential optimization savings
Fields§
§potential_bytes_saved: usizePotential bytes that could be saved
optimization_opportunities: Vec<String>List of optimization opportunities
is_worth_optimizing: boolWhether optimization is worthwhile
Trait Implementations§
Source§impl Clone for OptimizationEstimate
impl Clone for OptimizationEstimate
Source§fn clone(&self) -> OptimizationEstimate
fn clone(&self) -> OptimizationEstimate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptimizationEstimate
impl Debug for OptimizationEstimate
Source§impl<'de> Deserialize<'de> for OptimizationEstimate
impl<'de> Deserialize<'de> for OptimizationEstimate
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 OptimizationEstimate
impl RefUnwindSafe for OptimizationEstimate
impl Send for OptimizationEstimate
impl Sync for OptimizationEstimate
impl Unpin for OptimizationEstimate
impl UnwindSafe for OptimizationEstimate
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