Struct aws_sdk_securityhub::types::ProcessDetails
source · #[non_exhaustive]pub struct ProcessDetails {
pub name: Option<String>,
pub path: Option<String>,
pub pid: Option<i32>,
pub parent_pid: Option<i32>,
pub launched_at: Option<String>,
pub terminated_at: Option<String>,
}
Expand description
The details of process-related information about a 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 of the process.
path: Option<String>
The path to the process executable.
pid: Option<i32>
The process ID.
parent_pid: Option<i32>
The parent process ID. This field accepts positive integers between O
and 2147483647
.
launched_at: Option<String>
Indicates when the process was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
terminated_at: Option<String>
Indicates when the process was terminated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
Implementations§
source§impl ProcessDetails
impl ProcessDetails
sourcepub fn parent_pid(&self) -> Option<i32>
pub fn parent_pid(&self) -> Option<i32>
The parent process ID. This field accepts positive integers between O
and 2147483647
.
sourcepub fn launched_at(&self) -> Option<&str>
pub fn launched_at(&self) -> Option<&str>
Indicates when the process was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn terminated_at(&self) -> Option<&str>
pub fn terminated_at(&self) -> Option<&str>
Indicates when the process was terminated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
source§impl ProcessDetails
impl ProcessDetails
sourcepub fn builder() -> ProcessDetailsBuilder
pub fn builder() -> ProcessDetailsBuilder
Creates a new builder-style object to manufacture ProcessDetails
.
Trait Implementations§
source§impl Clone for ProcessDetails
impl Clone for ProcessDetails
source§fn clone(&self) -> ProcessDetails
fn clone(&self) -> ProcessDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessDetails
impl Debug for ProcessDetails
source§impl PartialEq for ProcessDetails
impl PartialEq for ProcessDetails
source§fn eq(&self, other: &ProcessDetails) -> bool
fn eq(&self, other: &ProcessDetails) -> bool
self
and other
values to be equal, and is used
by ==
.