Struct google_securitycenter1::api::Process
source · pub struct Process {
pub args: Option<Vec<String>>,
pub arguments_truncated: Option<bool>,
pub binary: Option<File>,
pub env_variables: Option<Vec<EnvironmentVariable>>,
pub env_variables_truncated: Option<bool>,
pub libraries: Option<Vec<File>>,
pub name: Option<String>,
pub parent_pid: Option<i64>,
pub pid: Option<i64>,
pub script: Option<File>,
}
Expand description
Represents an operating system process.
This type is not used in any activity, and only used as part of another schema.
Fields§
§args: Option<Vec<String>>
Process arguments as JSON encoded strings.
arguments_truncated: Option<bool>
True if args
is incomplete.
binary: Option<File>
File information for the process executable.
env_variables: Option<Vec<EnvironmentVariable>>
Process environment variables.
env_variables_truncated: Option<bool>
True if env_variables
is incomplete.
libraries: Option<Vec<File>>
File information for libraries loaded by the process.
name: Option<String>
The process name, as displayed in utilities like top
and ps
. This name can be accessed through /proc/[pid]/comm
and changed with prctl(PR_SET_NAME)
.
parent_pid: Option<i64>
The parent process ID.
pid: Option<i64>
The process ID.
script: Option<File>
When the process represents the invocation of a script, binary
provides information about the interpreter, while script
provides information about the script file provided to the interpreter.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Process
impl<'de> Deserialize<'de> for Process
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Process
Auto Trait Implementations§
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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