#[non_exhaustive]pub struct ProcessSummaryAttributes {
pub cmdline: Option<String>,
pub host: Option<String>,
pub pid: Option<i64>,
pub ppid: Option<i64>,
pub start: Option<String>,
pub tags: Option<Vec<String>>,
pub timestamp: Option<String>,
pub user: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Attributes for a process summary.
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.cmdline: Option<String>
Process command line.
host: Option<String>
Host running the process.
pid: Option<i64>
Process ID.
ppid: Option<i64>
Parent process ID.
start: Option<String>
Time the process was started.
List of tags associated with the process.
timestamp: Option<String>
Time the process was seen.
user: Option<String>
Process owner.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl ProcessSummaryAttributes
impl ProcessSummaryAttributes
pub fn new() -> ProcessSummaryAttributes
pub fn cmdline(self, value: String) -> Self
pub fn host(self, value: String) -> Self
pub fn pid(self, value: i64) -> Self
pub fn ppid(self, value: i64) -> Self
pub fn start(self, value: String) -> Self
pub fn timestamp(self, value: String) -> Self
pub fn user(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for ProcessSummaryAttributes
impl Clone for ProcessSummaryAttributes
Source§fn clone(&self) -> ProcessSummaryAttributes
fn clone(&self) -> ProcessSummaryAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessSummaryAttributes
impl Debug for ProcessSummaryAttributes
Source§impl Default for ProcessSummaryAttributes
impl Default for ProcessSummaryAttributes
Source§impl<'de> Deserialize<'de> for ProcessSummaryAttributes
impl<'de> Deserialize<'de> for ProcessSummaryAttributes
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
Source§impl PartialEq for ProcessSummaryAttributes
impl PartialEq for ProcessSummaryAttributes
Source§impl Serialize for ProcessSummaryAttributes
impl Serialize for ProcessSummaryAttributes
impl StructuralPartialEq for ProcessSummaryAttributes
Auto Trait Implementations§
impl Freeze for ProcessSummaryAttributes
impl RefUnwindSafe for ProcessSummaryAttributes
impl Send for ProcessSummaryAttributes
impl Sync for ProcessSummaryAttributes
impl Unpin for ProcessSummaryAttributes
impl UnwindSafe for ProcessSummaryAttributes
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