Struct aws_sdk_securityhub::types::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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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§
source§impl 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§
source§impl PartialEq for FilePaths
impl PartialEq for FilePaths
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§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.