pub struct ProducerId {
pub module: String,
pub version: u32,
}Expand description
Identifies the producer that fired this signal. The version lets
budgeting and signal-health surfaces age out signals from old producer
versions without re-running computation — important when we tune a
producer’s heuristics and want to compare apples to apples.
Fields§
§module: String§version: u32Implementations§
Trait Implementations§
Source§impl Clone for ProducerId
impl Clone for ProducerId
Source§fn clone(&self) -> ProducerId
fn clone(&self) -> ProducerId
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 ProducerId
impl Debug for ProducerId
Source§impl<'de> Deserialize<'de> for ProducerId
impl<'de> Deserialize<'de> for ProducerId
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 ProducerId
impl PartialEq for ProducerId
Source§fn eq(&self, other: &ProducerId) -> bool
fn eq(&self, other: &ProducerId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProducerId
impl Serialize for ProducerId
impl Eq for ProducerId
impl StructuralPartialEq for ProducerId
Auto Trait Implementations§
impl Freeze for ProducerId
impl RefUnwindSafe for ProducerId
impl Send for ProducerId
impl Sync for ProducerId
impl Unpin for ProducerId
impl UnsafeUnpin for ProducerId
impl UnwindSafe for ProducerId
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