pub struct Sha512Checksum {
pub sha512: String,
pub size: usize,
pub filename: String,
}
Expand description
SHA-512 checksum
Fields§
§sha512: String
SHA-512 checksum
size: usize
Size of the file, in bytes
filename: String
Filename
Trait Implementations§
Source§impl Checksum for Sha512Checksum
impl Checksum for Sha512Checksum
Source§impl Clone for Sha512Checksum
impl Clone for Sha512Checksum
Source§fn clone(&self) -> Sha512Checksum
fn clone(&self) -> Sha512Checksum
Returns a duplicate of the value. Read more
1.0.0 · 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 Sha512Checksum
impl Debug for Sha512Checksum
Source§impl Default for Sha512Checksum
impl Default for Sha512Checksum
Source§fn default() -> Sha512Checksum
fn default() -> Sha512Checksum
Returns the “default value” for a type. Read more
Source§impl Display for Sha512Checksum
impl Display for Sha512Checksum
Source§impl FromStr for Sha512Checksum
impl FromStr for Sha512Checksum
Source§impl Hash for Sha512Checksum
impl Hash for Sha512Checksum
Source§impl Ord for Sha512Checksum
impl Ord for Sha512Checksum
Source§fn cmp(&self, other: &Sha512Checksum) -> Ordering
fn cmp(&self, other: &Sha512Checksum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sha512Checksum
impl PartialEq for Sha512Checksum
Source§impl PartialOrd for Sha512Checksum
impl PartialOrd for Sha512Checksum
impl Eq for Sha512Checksum
impl StructuralPartialEq for Sha512Checksum
Auto Trait Implementations§
impl Freeze for Sha512Checksum
impl RefUnwindSafe for Sha512Checksum
impl Send for Sha512Checksum
impl Sync for Sha512Checksum
impl Unpin for Sha512Checksum
impl UnwindSafe for Sha512Checksum
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