pub struct ProcessBuilder { /* private fields */ }
Expand description
Builder for Process
.
Implementations§
Source§impl ProcessBuilder
impl ProcessBuilder
pub fn node_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn asset_id<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hostname<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn state<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn process_id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn process_guid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn created_timestamp<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn created_timestamp<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
When state == 1, create_time When state == 2, end_time When state == 3, seen_time
pub fn terminated_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn last_seen_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn process_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn process_command_line<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn operating_system<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ProcessBuilder
impl Clone for ProcessBuilder
Source§fn clone(&self) -> ProcessBuilder
fn clone(&self) -> ProcessBuilder
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 Default for ProcessBuilder
impl Default for ProcessBuilder
Source§fn default() -> ProcessBuilder
fn default() -> ProcessBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessBuilder
impl RefUnwindSafe for ProcessBuilder
impl Send for ProcessBuilder
impl Sync for ProcessBuilder
impl Unpin for ProcessBuilder
impl UnwindSafe for ProcessBuilder
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