pub struct AgentMeta {
pub description: Option<String>,
pub version: Option<String>,
pub tags: Vec<String>,
pub ctx: Option<Value>,
pub context_policy: Option<ContextPolicy>,
pub meta_ref: Option<String>,
pub projection_name: Option<String>,
}Expand description
Agent / Operator level metadata (description / version / tags).
Fields§
§description: Option<String>Short human-readable description.
version: Option<String>Free-form version label.
Tag list for classification / routing.
ctx: Option<Value>GH #21 Phase 1 — “BP Agent-level” tier of the agent-context supply
axis: a declarative object merged into ctx.meta.runtime for this
agent’s spawns, on top of (and winning over)
Blueprint::default_agent_ctx. See that field’s doc for the
contrast with default_init_ctx. None = this agent declares no
per-agent context (the BP-global tier alone applies, if any).
context_policy: Option<ContextPolicy>GH #21 Phase 1 — “BP Agent-level” tier of the ContextPolicy
cascade: outranks Blueprint::default_context_policy for this
agent. None = fall through to the BP-global policy (or pass-all
if that is also None).
meta_ref: Option<String>GH #21 Phase 2 — “BP Agent-level” tier of the MetaDef pool:
resolves against Blueprint::metas by name. The resolved
ctx sits UNDER this agent’s inline Self::ctx (inline wins
on key collision). None = this agent declares no shared
MetaDef reference.
projection_name: Option<String>GH #23 — the step-projection canonical name this agent’s dispatched
Steps should be addressed by (data-plane submit / ContextPolicy
filter / StepPointer/StepSummary name / REST :step path /
materialized file stem — see mlua-swarm core’s
core::step_naming::StepNaming for the table this field feeds).
None = this agent declares no projection name; the canonical
name falls back to the Step’s ref (the flow.ir data-plane
producer name), matching pre-GH-#23 behavior byte-for-byte.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentMeta
impl<'de> Deserialize<'de> for AgentMeta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for AgentMeta
impl JsonSchema for AgentMeta
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Serialize for AgentMeta
impl Serialize for AgentMeta
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,
impl StructuralPartialEq for AgentMeta
Auto Trait Implementations§
impl Freeze for AgentMeta
impl RefUnwindSafe for AgentMeta
impl Send for AgentMeta
impl Sync for AgentMeta
impl Unpin for AgentMeta
impl UnsafeUnpin for AgentMeta
impl UnwindSafe for AgentMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more