pub struct UploadContentClaim {
pub size_bytes: u64,
pub checksum: Checksum,
}Expand description
Size and checksum reported by the client for a complete payload.
Direct uploads provide this at completion. The server verifies it against the object stored by the provider.
Fields§
§size_bytes: u64Complete payload size in bytes.
checksum: ChecksumWhole-payload checksum in the algorithm required by this operation.
Trait Implementations§
Source§impl Clone for UploadContentClaim
impl Clone for UploadContentClaim
Source§fn clone(&self) -> UploadContentClaim
fn clone(&self) -> UploadContentClaim
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 UploadContentClaim
impl Debug for UploadContentClaim
Source§impl<'de> Deserialize<'de> for UploadContentClaim
impl<'de> Deserialize<'de> for UploadContentClaim
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
impl Eq for UploadContentClaim
Source§impl PartialEq for UploadContentClaim
impl PartialEq for UploadContentClaim
Source§impl Serialize for UploadContentClaim
impl Serialize for UploadContentClaim
impl StructuralPartialEq for UploadContentClaim
Auto Trait Implementations§
impl Freeze for UploadContentClaim
impl RefUnwindSafe for UploadContentClaim
impl Send for UploadContentClaim
impl Sync for UploadContentClaim
impl Unpin for UploadContentClaim
impl UnsafeUnpin for UploadContentClaim
impl UnwindSafe for UploadContentClaim
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