pub struct TargetMatch {
pub commit: CommitSha,
pub via: TargetMatchKind,
pub subject: String,
}Expand description
A target commit found to carry the candidate’s patch. The subject rides along so consumers can auto-fill exclusion reasons without a second git query.
Fields§
§commit: CommitSha§via: TargetMatchKind§subject: StringTrait Implementations§
Source§impl Clone for TargetMatch
impl Clone for TargetMatch
Source§fn clone(&self) -> TargetMatch
fn clone(&self) -> TargetMatch
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 moreSource§impl Debug for TargetMatch
impl Debug for TargetMatch
Source§impl<'de> Deserialize<'de> for TargetMatch
impl<'de> Deserialize<'de> for TargetMatch
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 TargetMatch
Source§impl PartialEq for TargetMatch
impl PartialEq for TargetMatch
Source§impl Serialize for TargetMatch
impl Serialize for TargetMatch
impl StructuralPartialEq for TargetMatch
Auto Trait Implementations§
impl Freeze for TargetMatch
impl RefUnwindSafe for TargetMatch
impl Send for TargetMatch
impl Sync for TargetMatch
impl Unpin for TargetMatch
impl UnsafeUnpin for TargetMatch
impl UnwindSafe for TargetMatch
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