pub struct ChainProvenance {
pub producer_kind: String,
pub producer_value: String,
}Expand description
Provenance for Phase 2 chain-derived ProbeSpecs.
Attached by generate_dag_chained_plan so downstream consumers can trace
the harvested signal that produced this probe — e.g. an If-Match probe
whose value was harvested from an ETag response header carries
producer_kind = "Etag" and producer_value = "W/\"abc\"".
Fields§
§producer_kind: StringDiscriminant from ProducerOutputKind as a stable string, e.g. "Etag".
producer_value: StringSerialized representation of the harvested value, e.g. "W/\"abc123\"".
Trait Implementations§
Source§impl Clone for ChainProvenance
impl Clone for ChainProvenance
Source§fn clone(&self) -> ChainProvenance
fn clone(&self) -> ChainProvenance
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 ChainProvenance
impl Debug for ChainProvenance
Source§impl<'de> Deserialize<'de> for ChainProvenance
impl<'de> Deserialize<'de> for ChainProvenance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChainProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChainProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChainProvenance
impl PartialEq for ChainProvenance
Source§fn eq(&self, other: &ChainProvenance) -> bool
fn eq(&self, other: &ChainProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChainProvenance
impl Serialize for ChainProvenance
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 ChainProvenance
impl StructuralPartialEq for ChainProvenance
Auto Trait Implementations§
impl Freeze for ChainProvenance
impl RefUnwindSafe for ChainProvenance
impl Send for ChainProvenance
impl Sync for ChainProvenance
impl Unpin for ChainProvenance
impl UnsafeUnpin for ChainProvenance
impl UnwindSafe for ChainProvenance
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