Struct Metadata Envelope

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct MetadataEnvelope {
    pub run_id: Uuid,
    pub agent_id: String,
    pub parallel_hints: Vec<ParallelHint>,
    pub extensions: Json,
}

Metadata template attached to an adaptive execution plan.

This payload is copied into run-level metadata snapshots and carries parallelism hints plus any backend- or integration-specific extensions.

Fields

run_id: Uuid

Run identifier the metadata template was last derived from.

agent_id: String

Agent identifier the template applies to.

parallel_hints: Vec<ParallelHint>

Tool parallelism hints discovered for the agent.

extensions: Json

Arbitrary caller-defined metadata extensions.

Trait Implementations

impl Clone for MetadataEnvelope

impl Clone for MetadataEnvelope

clone

fn clone(&self) -> MetadataEnvelope

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for MetadataEnvelope

impl Debug for MetadataEnvelope

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for MetadataEnvelope

impl<'de> Deserialize<'de> for MetadataEnvelope

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl Serialize for MetadataEnvelope

impl Serialize for MetadataEnvelope

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,