pub struct BuilderSubmission {
pub model_provider: SelectorChoice<ModelProviderChoice>,
pub risk_profile: SelectorChoice<String>,
pub runtime_profile: SelectorChoice<String>,
pub memory: SelectorChoice<MemoryChoice>,
pub channels: Vec<SelectorChoice<ChannelQuickStart>>,
pub peer_groups: Vec<QuickstartPeerGroup>,
pub agent: AgentIdentity,
}Expand description
The complete Quickstart submission both surfaces hand to
zeroclaw-runtime::quickstart::apply (and pre-validate via
validate_only). Single source of truth; assembling config
outside this type is a layering bug.
Every field’s *_preset / choice value is the user’s resolved
selection — the runtime translates preset keys into struct
values via risk_preset / runtime_preset and looks up
existing aliases against the live config when the UI submitted
“use existing” rather than a fresh choice.
Fields§
§model_provider: SelectorChoice<ModelProviderChoice>Model provider step submission. Always a Create new shape
in this initial cut — Use existing is represented by
SelectorChoice::Existing in the wrapper enum below.
risk_profile: SelectorChoice<String>Risk profile preset key from RISK_PRESETS, or the alias
of an existing risk-profiles.<alias>.
runtime_profile: SelectorChoice<String>Runtime profile preset key from RUNTIME_PRESETS, or the
alias of an existing runtime-profiles.<alias>.
memory: SelectorChoice<MemoryChoice>Memory step. Either a fresh MemoryChoice or the alias of
an existing storage.<type>.<alias> entry.
channels: Vec<SelectorChoice<ChannelQuickStart>>Channels step. 0..N entries. Each is either a freshly-built
ChannelQuickStart or the alias of an existing channel.
The agent’s channels field is auto-bound to every entry in
this vec at apply time.
peer_groups: Vec<QuickstartPeerGroup>Peer groups to materialize. Each entry can reference either a
staged channel from channels (above) or an already-configured
channel ref. Empty list = no peer-group rows written.
agent: AgentIdentityAgent identity (always create-new — there’s no reuse path).
Trait Implementations§
Source§impl Clone for BuilderSubmission
impl Clone for BuilderSubmission
Source§fn clone(&self) -> BuilderSubmission
fn clone(&self) -> BuilderSubmission
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BuilderSubmission
impl Debug for BuilderSubmission
Source§impl<'de> Deserialize<'de> for BuilderSubmission
impl<'de> Deserialize<'de> for BuilderSubmission
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>,
Source§impl JsonSchema for BuilderSubmission
impl JsonSchema for BuilderSubmission
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 PartialEq for BuilderSubmission
impl PartialEq for BuilderSubmission
Source§impl Serialize for BuilderSubmission
impl Serialize for BuilderSubmission
impl Eq for BuilderSubmission
impl StructuralPartialEq for BuilderSubmission
Auto Trait Implementations§
impl Freeze for BuilderSubmission
impl RefUnwindSafe for BuilderSubmission
impl Send for BuilderSubmission
impl Sync for BuilderSubmission
impl Unpin for BuilderSubmission
impl UnsafeUnpin for BuilderSubmission
impl UnwindSafe for BuilderSubmission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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