pub enum BaseSource {
Upstream,
Explicit,
ConfiguredTarget,
DefaultTarget,
Target,
}Expand description
Where a ComparisonBase came from.
Variants§
Upstream
The branch’s configured upstream (branch.<name>.remote / branch.<name>.merge).
Explicit
Explicit comparison ref from TargetSpec (for example grit shortlog --target).
ConfiguredTarget
The repository’s target branch from the target.branch config value.
DefaultTarget
A default target candidate (DEFAULT_TARGET_CANDIDATES).
Target
The repository’s target branch (see target_branch); covers configured and default.
Trait Implementations§
Source§impl Clone for BaseSource
impl Clone for BaseSource
impl Copy for BaseSource
Source§impl Debug for BaseSource
impl Debug for BaseSource
impl Eq for BaseSource
Source§impl PartialEq for BaseSource
impl PartialEq for BaseSource
impl StructuralPartialEq for BaseSource
Auto Trait Implementations§
impl Freeze for BaseSource
impl RefUnwindSafe for BaseSource
impl Send for BaseSource
impl Sync for BaseSource
impl Unpin for BaseSource
impl UnsafeUnpin for BaseSource
impl UnwindSafe for BaseSource
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§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.