pub enum PartialHashSearchType {
Any,
MD5,
SHA1,
SHA256,
SHA384,
SHA512,
}
Expand description
Specify the type of hash when searching for a partial match
Variants§
Any
Search by any know hash type
MD5
Search only for MD5 hashes
SHA1
Search only for SHA-1 hashes
SHA256
Search only for SHA-256 hashes
SHA384
Search only for SHA-384 hashes
SHA512
Search only for SHA-512 hashes
Trait Implementations§
Source§impl Clone for PartialHashSearchType
impl Clone for PartialHashSearchType
Source§fn clone(&self) -> PartialHashSearchType
fn clone(&self) -> PartialHashSearchType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PartialHashSearchType
impl Debug for PartialHashSearchType
Source§impl Default for PartialHashSearchType
impl Default for PartialHashSearchType
Source§fn default() -> PartialHashSearchType
fn default() -> PartialHashSearchType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialHashSearchType
impl<'de> Deserialize<'de> for PartialHashSearchType
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 PartialHashSearchType
impl Display for PartialHashSearchType
Source§impl PartialEq for PartialHashSearchType
impl PartialEq for PartialHashSearchType
Source§impl Serialize for PartialHashSearchType
impl Serialize for PartialHashSearchType
Source§impl TryInto<PartialHashSearchType> for &str
impl TryInto<PartialHashSearchType> for &str
impl Eq for PartialHashSearchType
impl StructuralPartialEq for PartialHashSearchType
Auto Trait Implementations§
impl Freeze for PartialHashSearchType
impl RefUnwindSafe for PartialHashSearchType
impl Send for PartialHashSearchType
impl Sync for PartialHashSearchType
impl Unpin for PartialHashSearchType
impl UnwindSafe for PartialHashSearchType
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