pub struct Sha256Hex(/* private fields */);Expand description
A lowercase-hex SHA-256 digest (64 chars), validated on construction.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sha256Hex
impl<'de> Deserialize<'de> for Sha256Hex
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Sha256Hex
impl StructuralPartialEq for Sha256Hex
Auto Trait Implementations§
impl Freeze for Sha256Hex
impl RefUnwindSafe for Sha256Hex
impl Send for Sha256Hex
impl Sync for Sha256Hex
impl Unpin for Sha256Hex
impl UnsafeUnpin for Sha256Hex
impl UnwindSafe for Sha256Hex
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