pub struct BatchSummary {
pub total: usize,
pub succeeded: usize,
pub failed: usize,
pub range_translation_statuses: HashMap<String, usize>,
}Expand description
Aggregate batch query summary counters.
Fields§
§total: usizeNumber of requested packages.
succeeded: usizeNumber of packages with successful results.
failed: usizeNumber of packages that failed.
range_translation_statuses: HashMap<String, usize>Aggregated range translation status counters from returned advisories.
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§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 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