pub enum ScanVerdict {
Clean,
Findings(Vec<Finding>),
}Expand description
The outcome of scanning an artifact. Only ScanVerdict::Clean is promotable
(docs/PIPELINE.md §5).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ScanVerdict
impl Clone for ScanVerdict
Source§fn clone(&self) -> ScanVerdict
fn clone(&self) -> ScanVerdict
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 ScanVerdict
impl Debug for ScanVerdict
Source§impl<'de> Deserialize<'de> for ScanVerdict
impl<'de> Deserialize<'de> for ScanVerdict
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 ScanVerdict
Source§impl PartialEq for ScanVerdict
impl PartialEq for ScanVerdict
Source§impl Serialize for ScanVerdict
impl Serialize for ScanVerdict
impl StructuralPartialEq for ScanVerdict
Auto Trait Implementations§
impl Freeze for ScanVerdict
impl RefUnwindSafe for ScanVerdict
impl Send for ScanVerdict
impl Sync for ScanVerdict
impl Unpin for ScanVerdict
impl UnsafeUnpin for ScanVerdict
impl UnwindSafe for ScanVerdict
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