pub enum SimilarityType {
ExactHash,
NearDuplicate,
ConceptOverlap,
WeakRelated,
}Expand description
Similarity class found before canonicalization.
Variants§
Trait Implementations§
Source§impl Clone for SimilarityType
impl Clone for SimilarityType
Source§fn clone(&self) -> SimilarityType
fn clone(&self) -> SimilarityType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimilarityType
Source§impl Debug for SimilarityType
impl Debug for SimilarityType
Source§impl<'de> Deserialize<'de> for SimilarityType
impl<'de> Deserialize<'de> for SimilarityType
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
impl Eq for SimilarityType
Source§impl Ord for SimilarityType
impl Ord for SimilarityType
Source§fn cmp(&self, other: &SimilarityType) -> Ordering
fn cmp(&self, other: &SimilarityType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SimilarityType
impl PartialEq for SimilarityType
Source§fn eq(&self, other: &SimilarityType) -> bool
fn eq(&self, other: &SimilarityType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SimilarityType
impl PartialOrd for SimilarityType
Source§impl Serialize for SimilarityType
impl Serialize for SimilarityType
impl StructuralPartialEq for SimilarityType
Auto Trait Implementations§
impl Freeze for SimilarityType
impl RefUnwindSafe for SimilarityType
impl Send for SimilarityType
impl Sync for SimilarityType
impl Unpin for SimilarityType
impl UnsafeUnpin for SimilarityType
impl UnwindSafe for SimilarityType
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