pub struct BatchOperationResult {
pub total: usize,
pub succeeded: usize,
pub failed: usize,
pub results: Vec<BatchTaskResult>,
}Expand description
Overall result of a batch operation.
Fields§
§total: usize§succeeded: usize§failed: usize§results: Vec<BatchTaskResult>Implementations§
Source§impl BatchOperationResult
impl BatchOperationResult
pub fn all_succeeded(&self) -> bool
pub fn has_failures(&self) -> bool
Trait Implementations§
Source§impl Clone for BatchOperationResult
impl Clone for BatchOperationResult
Source§fn clone(&self) -> BatchOperationResult
fn clone(&self) -> BatchOperationResult
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 BatchOperationResult
impl RefUnwindSafe for BatchOperationResult
impl Send for BatchOperationResult
impl Sync for BatchOperationResult
impl Unpin for BatchOperationResult
impl UnsafeUnpin for BatchOperationResult
impl UnwindSafe for BatchOperationResult
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