pub struct ProcessIdentity {
pub hostname: Option<String>,
pub pid: Option<u32>,
}Expand description
Caller-resolved process identity attached to observations and log events.
Fields§
§hostname: Option<String>Optional hostname attached to the event or observation.
pid: Option<u32>Optional process identifier attached to the event or observation.
Trait Implementations§
Source§impl Clone for ProcessIdentity
impl Clone for ProcessIdentity
Source§fn clone(&self) -> ProcessIdentity
fn clone(&self) -> ProcessIdentity
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 ProcessIdentity
impl Debug for ProcessIdentity
Source§impl Default for ProcessIdentity
impl Default for ProcessIdentity
Source§fn default() -> ProcessIdentity
fn default() -> ProcessIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessIdentity
impl<'de> Deserialize<'de> for ProcessIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProcessIdentity
impl PartialEq for ProcessIdentity
Source§impl Serialize for ProcessIdentity
impl Serialize for ProcessIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ProcessIdentity
impl StructuralPartialEq for ProcessIdentity
Auto Trait Implementations§
impl Freeze for ProcessIdentity
impl RefUnwindSafe for ProcessIdentity
impl Send for ProcessIdentity
impl Sync for ProcessIdentity
impl Unpin for ProcessIdentity
impl UnsafeUnpin for ProcessIdentity
impl UnwindSafe for ProcessIdentity
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