pub struct FileOperationSummary {
pub changed: usize,
pub skipped: usize,
pub deleted: usize,
pub warnings: usize,
pub metadata_changed: usize,
pub expanded: bool,
pub skip_reason: Option<String>,
}Expand description
Counts produced by one top-level file operation.
Fields§
§changed: usizeNumber of created, updated, or replaced paths.
skipped: usizeNumber of skipped paths.
deleted: usizeNumber of deleted target-only paths.
warnings: usizeNumber of warnings emitted.
metadata_changed: usizeNumber of metadata-only sync repairs.
expanded: boolWhether the summary represents expanded directory work.
skip_reason: Option<String>Reason for a single skipped top-level operation.
Implementations§
Source§impl FileOperationSummary
impl FileOperationSummary
Sourcepub const fn decision_count(&self) -> usize
pub const fn decision_count(&self) -> usize
Returns the number of visible action decisions in the summary.
Trait Implementations§
Source§impl Clone for FileOperationSummary
impl Clone for FileOperationSummary
Source§fn clone(&self) -> FileOperationSummary
fn clone(&self) -> FileOperationSummary
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 FileOperationSummary
impl Debug for FileOperationSummary
Source§impl Default for FileOperationSummary
impl Default for FileOperationSummary
Source§fn default() -> FileOperationSummary
fn default() -> FileOperationSummary
Returns the “default value” for a type. Read more
impl Eq for FileOperationSummary
Source§impl PartialEq for FileOperationSummary
impl PartialEq for FileOperationSummary
Source§fn eq(&self, other: &FileOperationSummary) -> bool
fn eq(&self, other: &FileOperationSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileOperationSummary
Auto Trait Implementations§
impl Freeze for FileOperationSummary
impl RefUnwindSafe for FileOperationSummary
impl Send for FileOperationSummary
impl Sync for FileOperationSummary
impl Unpin for FileOperationSummary
impl UnsafeUnpin for FileOperationSummary
impl UnwindSafe for FileOperationSummary
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