Struct aws_sdk_securityhub::model::FilePaths
source · [−]#[non_exhaustive]pub struct FilePaths {
pub file_path: Option<String>,
pub file_name: Option<String>,
pub resource_id: Option<String>,
pub hash: Option<String>,
}Expand description
Provides information about the file paths that were affected by the threat.
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.file_path: Option<String>Path to the infected or suspicious file on the resource it was detected on.
file_name: Option<String>The name of the infected or suspicious file corresponding to the hash.
resource_id: Option<String>The Amazon Resource Name (ARN) of the resource on which the threat was detected.
hash: Option<String>The hash value for the infected or suspicious file.
Implementations
sourceimpl FilePaths
impl FilePaths
sourcepub fn file_path(&self) -> Option<&str>
pub fn file_path(&self) -> Option<&str>
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn file_name(&self) -> Option<&str>
pub fn file_name(&self) -> Option<&str>
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Trait Implementations
impl StructuralPartialEq for FilePaths
Auto Trait Implementations
impl RefUnwindSafe for FilePaths
impl Send for FilePaths
impl Sync for FilePaths
impl Unpin for FilePaths
impl UnwindSafe for FilePaths
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