pub struct BlobPackReceipt {
pub created: u64,
pub existing: u64,
}Expand description
What a server did with the blobs in an uploaded pack.
Fields§
§created: u64Blobs this request added to the remote cache.
existing: u64Blobs the remote cache already held.
Trait Implementations§
Source§impl Clone for BlobPackReceipt
impl Clone for BlobPackReceipt
Source§fn clone(&self) -> BlobPackReceipt
fn clone(&self) -> BlobPackReceipt
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 moreimpl Copy for BlobPackReceipt
Source§impl Debug for BlobPackReceipt
impl Debug for BlobPackReceipt
Source§impl<'de> Deserialize<'de> for BlobPackReceipt
impl<'de> Deserialize<'de> for BlobPackReceipt
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 BlobPackReceipt
impl RefUnwindSafe for BlobPackReceipt
impl Send for BlobPackReceipt
impl Sync for BlobPackReceipt
impl Unpin for BlobPackReceipt
impl UnsafeUnpin for BlobPackReceipt
impl UnwindSafe for BlobPackReceipt
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