Enum malwaredb_api::digest::HashType
source · pub enum HashType {
Md5(Digest<16>),
SHA1(Digest<20>),
SHA256(Digest<32>),
SHA384(Digest<48>),
SHA512(Digest<64>),
}
Expand description
The hash by which a sample is identified
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HashType
impl<'de> Deserialize<'de> for HashType
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 HashType
impl PartialEq for HashType
impl Eq for HashType
impl StructuralEq for HashType
impl StructuralPartialEq for HashType
Auto Trait Implementations§
impl RefUnwindSafe for HashType
impl Send for HashType
impl Sync for HashType
impl Unpin for HashType
impl UnwindSafe for HashType
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