pub struct OperationComplete {
pub cancelled: bool,
pub operation_type: OperationType,
pub succeeded: usize,
pub failed: usize,
pub skipped: usize,
pub bytes_processed: u64,
pub errors: Vec<OperationError>,
}Expand description
Result of a completed operation.
Fields§
§cancelled: boolWhether cancellation or an explicit abort stopped the operation. Completed items remain reflected in the counts and undo records.
operation_type: OperationTypeThe type of operation.
succeeded: usizeNumber of items successfully processed.
failed: usizeNumber of items that failed.
skipped: usizeNumber of items the user chose to skip. Skips are not failures.
bytes_processed: u64Total bytes processed.
errors: Vec<OperationError>Errors that occurred.
Implementations§
Trait Implementations§
Source§impl Clone for OperationComplete
impl Clone for OperationComplete
Auto Trait Implementations§
impl Freeze for OperationComplete
impl RefUnwindSafe for OperationComplete
impl Send for OperationComplete
impl Sync for OperationComplete
impl Unpin for OperationComplete
impl UnsafeUnpin for OperationComplete
impl UnwindSafe for OperationComplete
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