pub struct IntegrityRecord {
pub checksum_sha256: String,
pub content_length: usize,
pub part_checksums: Vec<PartIntegrityRecord>,
}Fields§
§checksum_sha256: String§content_length: usize§part_checksums: Vec<PartIntegrityRecord>Implementations§
Source§impl IntegrityRecord
impl IntegrityRecord
pub fn for_body(body: &[u8]) -> Self
pub fn for_multipart_body( body: &[u8], part_checksums: Vec<PartIntegrityRecord>, ) -> Self
Trait Implementations§
Source§impl Clone for IntegrityRecord
impl Clone for IntegrityRecord
Source§fn clone(&self) -> IntegrityRecord
fn clone(&self) -> IntegrityRecord
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 IntegrityRecord
impl Debug for IntegrityRecord
Source§impl Default for IntegrityRecord
impl Default for IntegrityRecord
Source§fn default() -> IntegrityRecord
fn default() -> IntegrityRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrityRecord
impl<'de> Deserialize<'de> for IntegrityRecord
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
Source§impl PartialEq for IntegrityRecord
impl PartialEq for IntegrityRecord
Source§fn eq(&self, other: &IntegrityRecord) -> bool
fn eq(&self, other: &IntegrityRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntegrityRecord
impl Serialize for IntegrityRecord
impl Eq for IntegrityRecord
impl StructuralPartialEq for IntegrityRecord
Auto Trait Implementations§
impl Freeze for IntegrityRecord
impl RefUnwindSafe for IntegrityRecord
impl Send for IntegrityRecord
impl Sync for IntegrityRecord
impl Unpin for IntegrityRecord
impl UnsafeUnpin for IntegrityRecord
impl UnwindSafe for IntegrityRecord
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