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