pub struct ProcessProvenance {
pub owner_scope: ProcessScope,
pub host_profile_id: String,
pub caused_by: Option<CausalRef>,
}Fields§
§owner_scope: ProcessScope§host_profile_id: String§caused_by: Option<CausalRef>Implementations§
Source§impl ProcessProvenance
impl ProcessProvenance
pub fn new( owner_scope: ProcessScope, host_profile_id: impl Into<String>, ) -> Self
pub fn with_caused_by(self, caused_by: Option<CausalRef>) -> Self
Trait Implementations§
Source§impl Clone for ProcessProvenance
impl Clone for ProcessProvenance
Source§fn clone(&self) -> ProcessProvenance
fn clone(&self) -> ProcessProvenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessProvenance
impl Debug for ProcessProvenance
Source§impl<'de> Deserialize<'de> for ProcessProvenance
impl<'de> Deserialize<'de> for ProcessProvenance
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 Eq for ProcessProvenance
Source§impl PartialEq for ProcessProvenance
impl PartialEq for ProcessProvenance
Source§fn eq(&self, other: &ProcessProvenance) -> bool
fn eq(&self, other: &ProcessProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessProvenance
impl Serialize for ProcessProvenance
impl StructuralPartialEq for ProcessProvenance
Auto Trait Implementations§
impl Freeze for ProcessProvenance
impl RefUnwindSafe for ProcessProvenance
impl Send for ProcessProvenance
impl Sync for ProcessProvenance
impl Unpin for ProcessProvenance
impl UnsafeUnpin for ProcessProvenance
impl UnwindSafe for ProcessProvenance
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