pub struct Sha1Checksum {
pub sha1: String,
pub size: usize,
pub filename: String,
}
Expand description
SHA1 checksum
Fields§
§sha1: String
SHA1 checksum
size: usize
Size of the file, in bytes
filename: String
Filename
Trait Implementations§
Source§impl Checksum for Sha1Checksum
impl Checksum for Sha1Checksum
Source§impl Clone for Sha1Checksum
impl Clone for Sha1Checksum
Source§fn clone(&self) -> Sha1Checksum
fn clone(&self) -> Sha1Checksum
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 Sha1Checksum
impl Debug for Sha1Checksum
Source§impl Default for Sha1Checksum
impl Default for Sha1Checksum
Source§fn default() -> Sha1Checksum
fn default() -> Sha1Checksum
Returns the “default value” for a type. Read more
Source§impl Display for Sha1Checksum
impl Display for Sha1Checksum
Source§impl FromStr for Sha1Checksum
impl FromStr for Sha1Checksum
Source§impl Hash for Sha1Checksum
impl Hash for Sha1Checksum
Source§impl Ord for Sha1Checksum
impl Ord for Sha1Checksum
Source§fn cmp(&self, other: &Sha1Checksum) -> Ordering
fn cmp(&self, other: &Sha1Checksum) -> 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 Sha1Checksum
impl PartialEq for Sha1Checksum
Source§impl PartialOrd for Sha1Checksum
impl PartialOrd for Sha1Checksum
impl Eq for Sha1Checksum
impl StructuralPartialEq for Sha1Checksum
Auto Trait Implementations§
impl Freeze for Sha1Checksum
impl RefUnwindSafe for Sha1Checksum
impl Send for Sha1Checksum
impl Sync for Sha1Checksum
impl Unpin for Sha1Checksum
impl UnwindSafe for Sha1Checksum
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