pub struct ChecksumInfo {
pub part_number: usize,
pub algorithm: HashAlgorithm,
pub hash: Bytes,
}
Fields§
§part_number: usize
§algorithm: HashAlgorithm
§hash: Bytes
Trait Implementations§
Source§impl Clone for ChecksumInfo
impl Clone for ChecksumInfo
Source§fn clone(&self) -> ChecksumInfo
fn clone(&self) -> ChecksumInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChecksumInfo
impl Debug for ChecksumInfo
Source§impl Default for ChecksumInfo
impl Default for ChecksumInfo
Source§fn default() -> ChecksumInfo
fn default() -> ChecksumInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChecksumInfo
impl<'de> Deserialize<'de> for ChecksumInfo
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 ChecksumInfo
impl PartialEq for ChecksumInfo
Source§impl Serialize for ChecksumInfo
impl Serialize for ChecksumInfo
impl StructuralPartialEq for ChecksumInfo
Auto Trait Implementations§
impl !Freeze for ChecksumInfo
impl RefUnwindSafe for ChecksumInfo
impl Send for ChecksumInfo
impl Sync for ChecksumInfo
impl Unpin for ChecksumInfo
impl UnwindSafe for ChecksumInfo
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