pub struct WriteResult {
pub files: Vec<FileWriteResult>,
pub files_written: usize,
pub files_skipped: usize,
pub backups_created: usize,
pub dry_run: bool,
pub rollback_info: Option<RollbackInfo>,
}Expand description
Result of writing multiple files
Fields§
§files: Vec<FileWriteResult>Results for each file
files_written: usizeTotal files written
files_skipped: usizeTotal files skipped
backups_created: usizeTotal backups created
dry_run: boolWhether this was a dry-run
rollback_info: Option<RollbackInfo>Rollback information if needed
Trait Implementations§
Source§impl Clone for WriteResult
impl Clone for WriteResult
Source§fn clone(&self) -> WriteResult
fn clone(&self) -> WriteResult
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 moreAuto Trait Implementations§
impl Freeze for WriteResult
impl RefUnwindSafe for WriteResult
impl Send for WriteResult
impl Sync for WriteResult
impl Unpin for WriteResult
impl UnwindSafe for WriteResult
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