pub struct AlreadyPresent {
pub identical: Option<TargetMatch>,
pub content: Option<ContentPresence>,
}Expand description
Advisory: the patch’s content appears to already exist on the target. Never affects the verdict; q-port and the operator own the exclusion decision.
Fields§
§identical: Option<TargetMatch>Tier-1 hit: an identical patch landed on the target.
content: Option<ContentPresence>Tier-2 tally: the post-image is (partly) present in the tree.
Implementations§
Trait Implementations§
Source§impl Clone for AlreadyPresent
impl Clone for AlreadyPresent
Source§impl Debug for AlreadyPresent
impl Debug for AlreadyPresent
Source§impl Default for AlreadyPresent
impl Default for AlreadyPresent
Source§impl<'de> Deserialize<'de> for AlreadyPresent
impl<'de> Deserialize<'de> for AlreadyPresent
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 AlreadyPresent
Source§impl PartialEq for AlreadyPresent
impl PartialEq for AlreadyPresent
Source§impl Serialize for AlreadyPresent
impl Serialize for AlreadyPresent
impl StructuralPartialEq for AlreadyPresent
Auto Trait Implementations§
impl Forget for AlreadyPresent
impl Freeze for AlreadyPresent
impl Move for AlreadyPresent
impl RefUnwindSafe for AlreadyPresent
impl Send for AlreadyPresent
impl Sync for AlreadyPresent
impl Unpin for AlreadyPresent
impl UnsafeUnpin for AlreadyPresent
impl UnwindSafe for AlreadyPresent
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