Struct tame_index::krate::Chksum
source · pub struct Chksum(pub [u8; 32]);
Expand description
A SHA-256 checksum, this is used by cargo to verify the contents of a crate’s tarball
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl<'de> Deserialize<'de> for Chksum
impl<'de> Deserialize<'de> for Chksum
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 PartialEq for Chksum
impl PartialEq for Chksum
impl Eq for Chksum
impl StructuralPartialEq for Chksum
Auto Trait Implementations§
impl Freeze for Chksum
impl RefUnwindSafe for Chksum
impl Send for Chksum
impl Sync for Chksum
impl Unpin for Chksum
impl UnwindSafe for Chksum
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<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.