pub enum PredictionType {
BugRisk,
ChangeVelocity,
ComplexityGrowth,
CouplingRisk,
}Expand description
The type of prediction made.
Variants§
BugRisk
File is likely to have a bug introduced.
ChangeVelocity
File is likely to need changes soon.
ComplexityGrowth
File complexity is growing unsustainably.
CouplingRisk
File has dangerous coupling with other files.
Trait Implementations§
Source§impl Clone for PredictionType
impl Clone for PredictionType
Source§fn clone(&self) -> PredictionType
fn clone(&self) -> PredictionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictionType
impl Debug for PredictionType
Source§impl<'de> Deserialize<'de> for PredictionType
impl<'de> Deserialize<'de> for PredictionType
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 PredictionType
impl Display for PredictionType
Source§impl Hash for PredictionType
impl Hash for PredictionType
Source§impl PartialEq for PredictionType
impl PartialEq for PredictionType
Source§impl Serialize for PredictionType
impl Serialize for PredictionType
impl Eq for PredictionType
impl StructuralPartialEq for PredictionType
Auto Trait Implementations§
impl Freeze for PredictionType
impl RefUnwindSafe for PredictionType
impl Send for PredictionType
impl Sync for PredictionType
impl Unpin for PredictionType
impl UnsafeUnpin for PredictionType
impl UnwindSafe for PredictionType
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,
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.