pub struct BlobInfo {
pub path: String,
pub hash: Hash,
pub size: u64,
}
Available on crate feature
rpc
only.Expand description
Information about a complete blob.
Fields§
§path: String
Location of the blob
hash: Hash
The hash of the blob
size: u64
The size of the blob
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlobInfo
impl<'de> Deserialize<'de> for BlobInfo
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 BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnwindSafe for BlobInfo
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