pub struct AnalysisReport {
pub schema_version: u32,
pub root: PathBuf,
pub backend: String,
pub options: AnalysisOptions,
pub inventory: ResourceInventory,
pub resources: Vec<ResourceAnalysis>,
pub status_counts: BTreeMap<String, usize>,
pub potential_source_bytes_saved: u64,
pub similar_groups: Vec<SimilarGroup>,
pub cancelled: bool,
pub performance: Option<Performance>,
}Fields§
§schema_version: u32§root: PathBuf§backend: String§options: AnalysisOptions§inventory: ResourceInventory§resources: Vec<ResourceAnalysis>§status_counts: BTreeMap<String, usize>§potential_source_bytes_saved: u64Sum of recommended candidates only; warning candidates are excluded.
similar_groups: Vec<SimilarGroup>Images that show the same picture (identical, resized or near-duplicate),
excluding intended variants such as @2x/@3x or density folders.
cancelled: boolAnalysis stopped early; unfinished resources are not_analyzed.
performance: Option<Performance>Trait Implementations§
Source§impl Debug for AnalysisReport
impl Debug for AnalysisReport
Source§impl<'de> Deserialize<'de> for AnalysisReport
impl<'de> Deserialize<'de> for AnalysisReport
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 AnalysisReport
impl RefUnwindSafe for AnalysisReport
impl Send for AnalysisReport
impl Sync for AnalysisReport
impl Unpin for AnalysisReport
impl UnsafeUnpin for AnalysisReport
impl UnwindSafe for AnalysisReport
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more