pub struct Sha1Digest(/* private fields */);Expand description
SHA-1 digest (20 bytes / 40 hex characters).
Implementations§
Trait Implementations§
Source§impl Clone for Sha1Digest
impl Clone for Sha1Digest
Source§fn clone(&self) -> Sha1Digest
fn clone(&self) -> Sha1Digest
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 Sha1Digest
impl Debug for Sha1Digest
Source§impl<'de> Deserialize<'de> for Sha1Digest
impl<'de> Deserialize<'de> for Sha1Digest
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 Display for Sha1Digest
impl Display for Sha1Digest
Source§impl Hash for Sha1Digest
impl Hash for Sha1Digest
Source§impl Ord for Sha1Digest
impl Ord for Sha1Digest
Source§fn cmp(&self, other: &Sha1Digest) -> Ordering
fn cmp(&self, other: &Sha1Digest) -> 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 Sha1Digest
impl PartialEq for Sha1Digest
Source§impl PartialOrd for Sha1Digest
impl PartialOrd for Sha1Digest
Source§impl Serialize for Sha1Digest
impl Serialize for Sha1Digest
impl Copy for Sha1Digest
impl Eq for Sha1Digest
impl StructuralPartialEq for Sha1Digest
Auto Trait Implementations§
impl Freeze for Sha1Digest
impl RefUnwindSafe for Sha1Digest
impl Send for Sha1Digest
impl Sync for Sha1Digest
impl Unpin for Sha1Digest
impl UnsafeUnpin for Sha1Digest
impl UnwindSafe for Sha1Digest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more