Struct iroh_blobs::rpc::client::blobs::CollectionInfo
source · pub struct CollectionInfo {
pub tag: Tag,
pub hash: Hash,
pub total_blobs_count: Option<u64>,
pub total_blobs_size: Option<u64>,
}
Available on crate feature
rpc
only.Expand description
Information about a stored collection.
Fields§
§tag: Tag
Tag of the collection
hash: Hash
Hash of the collection
total_blobs_count: Option<u64>
Number of children in the collection
This is an optional field, because the data is not always available.
total_blobs_size: Option<u64>
Total size of the raw data referred to by all links
This is an optional field, because the data is not always available.
Trait Implementations§
source§impl Debug for CollectionInfo
impl Debug for CollectionInfo
source§impl<'de> Deserialize<'de> for CollectionInfo
impl<'de> Deserialize<'de> for CollectionInfo
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
Auto Trait Implementations§
impl !Freeze for CollectionInfo
impl RefUnwindSafe for CollectionInfo
impl Send for CollectionInfo
impl Sync for CollectionInfo
impl Unpin for CollectionInfo
impl UnwindSafe for CollectionInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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