pub enum JitSource {
Commit,
Diff,
}Available on crate feature
vcs-git only.Expand description
Which input a JIT report was scored from. Serializes to a lowercase
string ("commit" / "diff") so consumers can branch on it.
Variants§
Commit
Scored from a real commit (all five feature groups present).
Diff
Scored from a bare unified diff (only size + diffusion present; issue #580).
Trait Implementations§
impl Copy for JitSource
impl Eq for JitSource
impl StructuralPartialEq for JitSource
Auto Trait Implementations§
impl Freeze for JitSource
impl RefUnwindSafe for JitSource
impl Send for JitSource
impl Sync for JitSource
impl Unpin for JitSource
impl UnsafeUnpin for JitSource
impl UnwindSafe for JitSource
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.