pub struct PutManyReport {
pub total: usize,
pub inserted: usize,
pub inserted_bytes: u64,
pub inserted_hashes: Vec<Hash>,
}Expand description
Result of a batch insert.
Fields§
§total: usizeNumber of candidate items passed by the caller, including duplicates.
inserted: usizeNumber of blobs newly inserted into the store.
inserted_bytes: u64Logical bytes newly inserted into the store.
inserted_hashes: Vec<Hash>Hashes that were newly inserted, in insertion order.
Trait Implementations§
Source§impl Clone for PutManyReport
impl Clone for PutManyReport
Source§fn clone(&self) -> PutManyReport
fn clone(&self) -> PutManyReport
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 PutManyReport
impl Debug for PutManyReport
Source§impl Default for PutManyReport
impl Default for PutManyReport
Source§fn default() -> PutManyReport
fn default() -> PutManyReport
Returns the “default value” for a type. Read more
impl Eq for PutManyReport
Source§impl PartialEq for PutManyReport
impl PartialEq for PutManyReport
impl StructuralPartialEq for PutManyReport
Auto Trait Implementations§
impl Freeze for PutManyReport
impl RefUnwindSafe for PutManyReport
impl Send for PutManyReport
impl Sync for PutManyReport
impl Unpin for PutManyReport
impl UnsafeUnpin for PutManyReport
impl UnwindSafe for PutManyReport
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