pub struct SuppressedOccurrence {
pub advisory_id: String,
pub aliases: Vec<String>,
pub occurrence: Occurrence,
pub justification: Option<String>,
pub impact_statement: String,
pub approved_by: Option<String>,
}Expand description
An occurrence removed by a Suppression, with the context -f vex needs to
emit a not_affected statement (§6, §7.1).
Fields§
§advisory_id: String§aliases: Vec<String>§occurrence: Occurrence§justification: Option<String>§impact_statement: String§approved_by: Option<String>Trait Implementations§
Source§impl Clone for SuppressedOccurrence
impl Clone for SuppressedOccurrence
Source§fn clone(&self) -> SuppressedOccurrence
fn clone(&self) -> SuppressedOccurrence
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 moreAuto Trait Implementations§
impl Freeze for SuppressedOccurrence
impl RefUnwindSafe for SuppressedOccurrence
impl Send for SuppressedOccurrence
impl Sync for SuppressedOccurrence
impl Unpin for SuppressedOccurrence
impl UnsafeUnpin for SuppressedOccurrence
impl UnwindSafe for SuppressedOccurrence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more