Struct iroh_bytes::collection::CollectionStats
source · pub struct CollectionStats {
pub num_blobs: Option<u64>,
pub total_blob_size: Option<u64>,
}Expand description
Information about a collection.
Fields§
§num_blobs: Option<u64>The number of blobs in the collection. None for unknown.
total_blob_size: Option<u64>The total size of all blobs in the collection. None for unknown.
Trait Implementations§
source§impl Clone for CollectionStats
impl Clone for CollectionStats
source§fn clone(&self) -> CollectionStats
fn clone(&self) -> CollectionStats
Returns a copy 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 CollectionStats
impl Debug for CollectionStats
source§impl Default for CollectionStats
impl Default for CollectionStats
source§fn default() -> CollectionStats
fn default() -> CollectionStats
Returns the “default value” for a type. Read more
impl Copy for CollectionStats
Auto Trait Implementations§
impl RefUnwindSafe for CollectionStats
impl Send for CollectionStats
impl Sync for CollectionStats
impl Unpin for CollectionStats
impl UnwindSafe for CollectionStats
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