pub struct BatchSummary {
pub total: usize,
pub ok: usize,
pub err: usize,
}Expand description
Summary counts attached to every BatchResponse so callers can
branch on aggregate status without scanning the result list.
Fields§
§total: usize§ok: usize§err: usizeTrait 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§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
Source§impl<'de> Deserialize<'de> for BatchSummary
impl<'de> Deserialize<'de> for BatchSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BatchSummary
impl PartialEq for BatchSummary
Source§impl Serialize for BatchSummary
impl Serialize for BatchSummary
impl Copy for BatchSummary
impl Eq for BatchSummary
impl StructuralPartialEq 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