Struct aws_sdk_ecr::model::ImageScanFinding
source · [−]#[non_exhaustive]pub struct ImageScanFinding {
pub name: Option<String>,
pub description: Option<String>,
pub uri: Option<String>,
pub severity: Option<FindingSeverity>,
pub attributes: Option<Vec<Attribute>>,
}
Expand description
Contains information about an image scan finding.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name associated with the finding, usually a CVE number.
description: Option<String>
The description of the finding.
uri: Option<String>
A link containing additional details about the security vulnerability.
severity: Option<FindingSeverity>
The finding severity.
attributes: Option<Vec<Attribute>>
A collection of attributes of the host from which the finding is generated.
Implementations
sourceimpl ImageScanFinding
impl ImageScanFinding
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the finding.
sourcepub fn uri(&self) -> Option<&str>
pub fn uri(&self) -> Option<&str>
A link containing additional details about the security vulnerability.
sourcepub fn severity(&self) -> Option<&FindingSeverity>
pub fn severity(&self) -> Option<&FindingSeverity>
The finding severity.
sourcepub fn attributes(&self) -> Option<&[Attribute]>
pub fn attributes(&self) -> Option<&[Attribute]>
A collection of attributes of the host from which the finding is generated.
sourceimpl ImageScanFinding
impl ImageScanFinding
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageScanFinding
.
Trait Implementations
sourceimpl Clone for ImageScanFinding
impl Clone for ImageScanFinding
sourcefn clone(&self) -> ImageScanFinding
fn clone(&self) -> ImageScanFinding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImageScanFinding
impl Debug for ImageScanFinding
sourceimpl PartialEq<ImageScanFinding> for ImageScanFinding
impl PartialEq<ImageScanFinding> for ImageScanFinding
sourcefn eq(&self, other: &ImageScanFinding) -> bool
fn eq(&self, other: &ImageScanFinding) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageScanFinding) -> bool
fn ne(&self, other: &ImageScanFinding) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImageScanFinding
Auto Trait Implementations
impl RefUnwindSafe for ImageScanFinding
impl Send for ImageScanFinding
impl Sync for ImageScanFinding
impl Unpin for ImageScanFinding
impl UnwindSafe for ImageScanFinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more