pub struct EnhanceSetting {
pub id: String,
pub blueprint_id: BlueprintId,
pub ttl_secs: u64,
pub version: VersionSelector,
pub verifier_axes: Vec<String>,
pub spawner: Option<AgentDef>,
pub meta: EnhanceSettingMeta,
}Expand description
Internal storage form — the view held by the store and by
EnhanceApplication. A BlueprintId ref plus runtime parameters.
Fields§
§id: StringSetting id — the server’s single default setting uses "default".
blueprint_id: BlueprintIdThe Blueprint this setting resolves to, via BlueprintStore.
ttl_secs: u64Operator-session lifetime (the TTL passed to Engine::attach).
version: VersionSelectorWhich BlueprintVersion to take (Latest / Fixed /
SemverReq).
verifier_axes: Vec<String>Enhance-flow verifier axes: on/off. Injected into the init ctx as
$.verifiers and fanned out in parallel by the flow.ir Fanout.
An empty array skips verification — the committer commits
unconditionally. Default: the four axes ["des", "canonical", "noop", "agent-ref"].
spawner: Option<AgentDef>Overrides the Blueprint’s own patch-spawner agent definition.
None = use whatever the orbit Blueprint declares. Some(def)
swaps that agent out at dispatch time, so the spawner’s execution
backend (agent_block / subprocess / operator) can be changed
without rewriting the Blueprint. Dispatch fails loud when the
orbit Blueprint declares no agent under that name — a silently
ignored override is the worst way for this to surface.
meta: EnhanceSettingMetaExtension metadata slot (currently empty).
Trait Implementations§
Source§impl Clone for EnhanceSetting
impl Clone for EnhanceSetting
Source§fn clone(&self) -> EnhanceSetting
fn clone(&self) -> EnhanceSetting
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EnhanceSetting
impl Debug for EnhanceSetting
Source§impl<'de> Deserialize<'de> for EnhanceSetting
impl<'de> Deserialize<'de> for EnhanceSetting
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>,
Auto Trait Implementations§
impl Freeze for EnhanceSetting
impl RefUnwindSafe for EnhanceSetting
impl Send for EnhanceSetting
impl Sync for EnhanceSetting
impl Unpin for EnhanceSetting
impl UnsafeUnpin for EnhanceSetting
impl UnwindSafe for EnhanceSetting
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