pub struct BatchSummary {
pub total_orders: usize,
pub successful_orders: usize,
pub failed_orders: usize,
pub retryable_orders: usize,
pub processing_time_ns: u64,
}Expand description
Summary statistics for a batch operation
Fields§
§total_orders: usizeTotal number of orders in the batch
successful_orders: usizeNumber of orders that succeeded
failed_orders: usizeNumber of orders that failed
retryable_orders: usizeNumber of orders that could be retried
processing_time_ns: u64Processing time in nanoseconds
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 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchSummary
impl Debug for BatchSummary
Source§impl Default for BatchSummary
impl Default for BatchSummary
Source§fn default() -> BatchSummary
fn default() -> BatchSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchSummary
impl RefUnwindSafe for BatchSummary
impl Send for BatchSummary
impl Sync for BatchSummary
impl Unpin 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