pub enum SimilarCodeDomainOutcome {
SameResponsibility,
RelatedButDistinct,
IntentionalDuplication,
Unrelated,
NeedsHumanReview,
}Expand description
Domain outcome assigned by review, never by candidate generation.
Variants§
SameResponsibility
Functions implement the same responsibility.
RelatedButDistinct
Functions are related but intentionally serve distinct responsibilities.
IntentionalDuplication
Duplication is understood and intentional.
Pair is not meaningfully related.
NeedsHumanReview
Available evidence does not support a verdict.
Trait Implementations§
Source§impl Clone for SimilarCodeDomainOutcome
impl Clone for SimilarCodeDomainOutcome
impl Copy for SimilarCodeDomainOutcome
Source§impl Debug for SimilarCodeDomainOutcome
impl Debug for SimilarCodeDomainOutcome
Source§impl<'de> Deserialize<'de> for SimilarCodeDomainOutcome
impl<'de> Deserialize<'de> for SimilarCodeDomainOutcome
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 SimilarCodeDomainOutcome
Source§impl PartialEq for SimilarCodeDomainOutcome
impl PartialEq for SimilarCodeDomainOutcome
Source§impl Serialize for SimilarCodeDomainOutcome
impl Serialize for SimilarCodeDomainOutcome
impl StructuralPartialEq for SimilarCodeDomainOutcome
Auto Trait Implementations§
impl Freeze for SimilarCodeDomainOutcome
impl RefUnwindSafe for SimilarCodeDomainOutcome
impl Send for SimilarCodeDomainOutcome
impl Sync for SimilarCodeDomainOutcome
impl Unpin for SimilarCodeDomainOutcome
impl UnsafeUnpin for SimilarCodeDomainOutcome
impl UnwindSafe for SimilarCodeDomainOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.