pub struct JitCommit {
pub id: String,
pub parent_count: u32,
pub is_merge: bool,
pub purpose: JitPurpose,
}Available on crate feature
vcs-git only.Expand description
Structural facts about the scored commit.
Fields§
§id: StringResolved commit id (full hex).
parent_count: u32Number of parents (≥ 2 means a merge; 0 a root commit).
is_merge: boolWhether the commit is a merge (parent_count > 1).
purpose: JitPurposeKeyword classification of the commit message.
Trait Implementations§
impl Eq for JitCommit
impl StructuralPartialEq for JitCommit
Auto Trait Implementations§
impl Freeze for JitCommit
impl RefUnwindSafe for JitCommit
impl Send for JitCommit
impl Sync for JitCommit
impl Unpin for JitCommit
impl UnsafeUnpin for JitCommit
impl UnwindSafe for JitCommit
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.