pub struct BundleFixReport {
pub bundle_root: PathBuf,
pub files: Vec<FileFixReport>,
pub index_files_to_regenerate: Vec<PathBuf>,
pub options: FixOptions,
}Expand description
Remediation report for a whole bundle.
Fields§
§bundle_root: PathBufBundle root directory.
files: Vec<FileFixReport>Reports for individual files.
index_files_to_regenerate: Vec<PathBuf>Index files that are out of sync or would be regenerated.
options: FixOptionsOptions used.
Implementations§
Source§impl BundleFixReport
impl BundleFixReport
Sourcepub fn total_remediations(&self) -> usize
pub fn total_remediations(&self) -> usize
Total number of remediation actions applied across all files.
Sourcepub fn changed_files(&self) -> impl Iterator<Item = &FileFixReport>
pub fn changed_files(&self) -> impl Iterator<Item = &FileFixReport>
All files that were or would be modified.
Trait Implementations§
Source§impl Clone for BundleFixReport
impl Clone for BundleFixReport
Source§fn clone(&self) -> BundleFixReport
fn clone(&self) -> BundleFixReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BundleFixReport
impl Debug for BundleFixReport
Source§impl Default for BundleFixReport
impl Default for BundleFixReport
Source§fn default() -> BundleFixReport
fn default() -> BundleFixReport
Returns the “default value” for a type. Read more
impl Eq for BundleFixReport
Source§impl PartialEq for BundleFixReport
impl PartialEq for BundleFixReport
impl StructuralPartialEq for BundleFixReport
Auto Trait Implementations§
impl Freeze for BundleFixReport
impl RefUnwindSafe for BundleFixReport
impl Send for BundleFixReport
impl Sync for BundleFixReport
impl Unpin for BundleFixReport
impl UnsafeUnpin for BundleFixReport
impl UnwindSafe for BundleFixReport
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