pub struct Labels {
pub run_id: Option<String>,
pub round: Option<u64>,
pub node: Option<String>,
pub step: Option<String>,
pub member: Option<String>,
pub persona: Option<String>,
pub extra: Map<String, Value>,
}Expand description
What a producer knew about the run when it stamped an event.
The reserved keys are the fields below; anything else a producer knows lands
in extra. Producers stamp what they know and enrichers
never rewrite what is already there.
Fields§
§run_id: Option<String>The run this event belongs to.
round: Option<u64>The round within the run.
node: Option<String>The graph node being executed.
step: Option<String>The step within a node that runs several in sequence.
member: Option<String>Which member of a conversation produced the event.
persona: Option<String>The persona that member is running under.
extra: Map<String, Value>Free-form extras beyond the reserved keys above.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Labels
impl<'de> Deserialize<'de> for Labels
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 StructuralPartialEq for Labels
Auto Trait Implementations§
impl Freeze for Labels
impl RefUnwindSafe for Labels
impl Send for Labels
impl Sync for Labels
impl Unpin for Labels
impl UnsafeUnpin for Labels
impl UnwindSafe for Labels
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