#[non_exhaustive]pub struct DetoxReport {
pub planned: usize,
pub renamed: usize,
pub skipped: usize,
pub errored: usize,
}Expand description
Summary report returned from Detox::execute (FR-042).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.planned: usizeNumber of entries the planner produced.
renamed: usizeNumber of entries successfully renamed.
skipped: usizeNumber of entries skipped (e.g., dry-run or already-clean).
errored: usizeNumber of entries that errored mid-execution.
Trait Implementations§
Source§impl Clone for DetoxReport
impl Clone for DetoxReport
Source§fn clone(&self) -> DetoxReport
fn clone(&self) -> DetoxReport
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 DetoxReport
impl Debug for DetoxReport
Source§impl Default for DetoxReport
impl Default for DetoxReport
Source§fn default() -> DetoxReport
fn default() -> DetoxReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for DetoxReport
impl PartialEq for DetoxReport
Source§fn eq(&self, other: &DetoxReport) -> bool
fn eq(&self, other: &DetoxReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DetoxReport
impl StructuralPartialEq for DetoxReport
Auto Trait Implementations§
impl Freeze for DetoxReport
impl RefUnwindSafe for DetoxReport
impl Send for DetoxReport
impl Sync for DetoxReport
impl Unpin for DetoxReport
impl UnsafeUnpin for DetoxReport
impl UnwindSafe for DetoxReport
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