pub enum Attribution {
Introduced,
Inherited,
}Expand description
Whether a finding was introduced by the current change or inherited from the
base. The PR gate (--gate new-only) keys on Attribution::Introduced.
Variants§
Trait Implementations§
Source§impl Clone for Attribution
impl Clone for Attribution
Source§fn clone(&self) -> Attribution
fn clone(&self) -> Attribution
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 Attribution
Source§impl Debug for Attribution
impl Debug for Attribution
Source§impl<'de> Deserialize<'de> for Attribution
impl<'de> Deserialize<'de> for Attribution
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 Attribution
Source§impl Ord for Attribution
impl Ord for Attribution
Source§fn cmp(&self, other: &Attribution) -> Ordering
fn cmp(&self, other: &Attribution) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Attribution
impl PartialEq for Attribution
Source§fn eq(&self, other: &Attribution) -> bool
fn eq(&self, other: &Attribution) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Attribution
impl PartialOrd for Attribution
Source§impl Serialize for Attribution
impl Serialize for Attribution
impl StructuralPartialEq for Attribution
Auto Trait Implementations§
impl Freeze for Attribution
impl RefUnwindSafe for Attribution
impl Send for Attribution
impl Sync for Attribution
impl Unpin for Attribution
impl UnsafeUnpin for Attribution
impl UnwindSafe for Attribution
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