pub struct Checksum {
pub style: ChecksumType,
pub offset: u64,
pub size: u64,
}
Fields§
§style: ChecksumType
The digest format used.
offset: u64
Offset within heap of the checksum data.
size: u64
Size of checksum data.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Checksum
impl<'de> Deserialize<'de> for Checksum
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 Checksum
impl RefUnwindSafe for Checksum
impl Send for Checksum
impl Sync for Checksum
impl Unpin for Checksum
impl UnwindSafe for Checksum
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