pub enum TargetMatchKind {
TrailerIntersection,
TrailerAncestry,
PatchId,
}Expand description
How a tier-1 already-present match against the target branch was established.
Variants§
TrailerIntersection
A walked target commit’s -x trailer names the candidate (or
one of its trailer origins or inner PR commits).
TrailerAncestry
One of the candidate’s own trailer origins is already an ancestor of the target tip.
PatchId
A walked target commit’s normalized patch hash equals the candidate’s.
Trait Implementations§
Source§impl Clone for TargetMatchKind
impl Clone for TargetMatchKind
Source§fn clone(&self) -> TargetMatchKind
fn clone(&self) -> TargetMatchKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetMatchKind
Source§impl Debug for TargetMatchKind
impl Debug for TargetMatchKind
Source§impl<'de> Deserialize<'de> for TargetMatchKind
impl<'de> Deserialize<'de> for TargetMatchKind
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 TargetMatchKind
Source§impl PartialEq for TargetMatchKind
impl PartialEq for TargetMatchKind
Source§impl Serialize for TargetMatchKind
impl Serialize for TargetMatchKind
impl StructuralPartialEq for TargetMatchKind
Auto Trait Implementations§
impl Freeze for TargetMatchKind
impl RefUnwindSafe for TargetMatchKind
impl Send for TargetMatchKind
impl Sync for TargetMatchKind
impl Unpin for TargetMatchKind
impl UnsafeUnpin for TargetMatchKind
impl UnwindSafe for TargetMatchKind
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