Struct Process

Source
pub struct Process {
Show 25 fields pub auid: Option<i64>, pub cmd_line: Option<String>, pub container: Option<Container>, pub created_time: Option<i64>, pub created_time_dt: Option<String>, pub egid: Option<i64>, pub euid: Option<i64>, pub file: Option<File>, pub group: Option<Group>, pub integrity: Option<String>, pub integrity_id: Option<ProcessIntegrityId>, pub lineage: Vec<String>, pub loaded_modules: Vec<String>, pub name: Option<String>, pub namespace_pid: Option<i64>, pub parent_process: Box<Option<Process>>, pub pid: Option<i64>, pub sandbox: Option<String>, pub session: Option<Session>, pub terminated_time: Option<i64>, pub terminated_time_dt: Option<String>, pub tid: Option<i64>, pub uid: Option<String>, pub user: Option<User>, pub xattributes: Option<Object>,
}
Expand description

Process

JSON schema
{
 "type": "object",
 "properties": {
   "auid": {
     "type": "integer"
   },
   "cmd_line": {
     "type": "string"
   },
   "container": {
     "$ref": "#/$defs/container"
   },
   "created_time": {
     "type": "integer"
   },
   "created_time_dt": {
     "type": "string"
   },
   "egid": {
     "type": "integer"
   },
   "euid": {
     "type": "integer"
   },
   "file": {
     "$ref": "#/$defs/file"
   },
   "group": {
     "$ref": "#/$defs/group"
   },
   "integrity": {
     "type": "string"
   },
   "integrity_id": {
     "type": "integer",
     "enum": [
       3,
       6,
       0,
       1,
       2,
       99,
       4,
       5
     ]
   },
   "lineage": {
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "loaded_modules": {
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "name": {
     "type": "string"
   },
   "namespace_pid": {
     "type": "integer"
   },
   "parent_process": {
     "$ref": "#/$defs/process"
   },
   "pid": {
     "type": "integer"
   },
   "sandbox": {
     "type": "string"
   },
   "session": {
     "$ref": "#/$defs/session"
   },
   "terminated_time": {
     "type": "integer"
   },
   "terminated_time_dt": {
     "type": "string"
   },
   "tid": {
     "type": "integer"
   },
   "uid": {
     "type": "string"
   },
   "user": {
     "$ref": "#/$defs/user"
   },
   "xattributes": {
     "$ref": "#/$defs/object"
   }
 }
}

Fields§

§auid: Option<i64>§cmd_line: Option<String>§container: Option<Container>§created_time: Option<i64>§created_time_dt: Option<String>§egid: Option<i64>§euid: Option<i64>§file: Option<File>§group: Option<Group>§integrity: Option<String>§integrity_id: Option<ProcessIntegrityId>§lineage: Vec<String>§loaded_modules: Vec<String>§name: Option<String>§namespace_pid: Option<i64>§parent_process: Box<Option<Process>>§pid: Option<i64>§sandbox: Option<String>§session: Option<Session>§terminated_time: Option<i64>§terminated_time_dt: Option<String>§tid: Option<i64>§uid: Option<String>§user: Option<User>§xattributes: Option<Object>

Implementations§

Trait Implementations§

Source§

impl Clone for Process

Source§

fn clone(&self) -> Process

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Process

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Process

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&Process> for Process

Source§

fn from(value: &Process) -> Self

Converts to this type from the input type.
Source§

impl From<Process> for Process

Source§

fn from(value: Process) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Process

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Process> for Process

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: Process) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,