pub struct MetadataEnvelope {
pub run_id: Uuid,
pub agent_id: String,
pub parallel_hints: Vec<ParallelHint>,
pub extensions: Json,
}Expand description
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: UuidRun identifier the metadata template was last derived from.
agent_id: StringAgent identifier the template applies to.
parallel_hints: Vec<ParallelHint>Tool parallelism hints discovered for the agent.
extensions: JsonArbitrary caller-defined metadata extensions.
Trait Implementations§
Source§impl Clone for MetadataEnvelope
impl Clone for MetadataEnvelope
Source§fn clone(&self) -> MetadataEnvelope
fn clone(&self) -> MetadataEnvelope
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 MetadataEnvelope
impl Debug for MetadataEnvelope
Source§impl<'de> Deserialize<'de> for MetadataEnvelope
impl<'de> Deserialize<'de> for MetadataEnvelope
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
Auto Trait Implementations§
impl Freeze for MetadataEnvelope
impl RefUnwindSafe for MetadataEnvelope
impl Send for MetadataEnvelope
impl Sync for MetadataEnvelope
impl Unpin for MetadataEnvelope
impl UnsafeUnpin for MetadataEnvelope
impl UnwindSafe for MetadataEnvelope
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