pub struct Sha1<'a>(pub &'a str);
Expand description
Represents a SHA-1 hash in base 36, for instance in the
img_sha1
field of the image
table.
Tuple Fields§
§0: &'a str
Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Sha1<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Sha1<'a>
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<'a> Ord for Sha1<'a>
impl<'a> Ord for Sha1<'a>
Source§impl<'a> PartialOrd for Sha1<'a>
impl<'a> PartialOrd for Sha1<'a>
impl<'a> Copy for Sha1<'a>
impl<'a> Eq for Sha1<'a>
impl<'a> StructuralPartialEq for Sha1<'a>
Auto Trait Implementations§
impl<'a> Freeze for Sha1<'a>
impl<'a> RefUnwindSafe for Sha1<'a>
impl<'a> Send for Sha1<'a>
impl<'a> Sync for Sha1<'a>
impl<'a> Unpin for Sha1<'a>
impl<'a> UnwindSafe for Sha1<'a>
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