pub struct BatchSummary {
pub total: usize,
pub succeeded: usize,
pub failed: usize,
pub usage: Usage,
pub elapsed_ms: u64,
}Expand description
Totals for a finished batch.
Fields§
§total: usize§succeeded: usize§failed: usize§usage: Usage§elapsed_ms: u64Implementations§
Source§impl BatchSummary
impl BatchSummary
pub fn of(results: &[BatchResult], elapsed_ms: u64) -> Self
Trait Implementations§
Source§impl Clone for BatchSummary
impl Clone for BatchSummary
Source§fn clone(&self) -> BatchSummary
fn clone(&self) -> BatchSummary
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 BatchSummary
impl Debug for BatchSummary
Auto Trait Implementations§
impl Freeze for BatchSummary
impl RefUnwindSafe for BatchSummary
impl Send for BatchSummary
impl Sync for BatchSummary
impl Unpin for BatchSummary
impl UnsafeUnpin for BatchSummary
impl UnwindSafe for BatchSummary
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