pub struct FileConfig {
pub bind: Option<String>,
pub enable_enhance_flow: Option<bool>,
pub blueprint_ref_base: Option<PathBuf>,
pub git_store_path: Option<PathBuf>,
pub seed_blueprint_id: Option<String>,
pub default_agent_kind: Option<String>,
pub token_secret: Option<String>,
}Expand description
TOML config schema. All fields are optional — a missing field falls back
to the CLI-supplied value or the built-in default at resolve time.
Unknown fields are a hard error (deny_unknown_fields; typo guard).
Fields§
§bind: Option<String>Listen address string (e.g. "127.0.0.1:7777"), parsed at resolve time.
enable_enhance_flow: Option<bool>Whether the enhance flow (Lua + AgentBlock factories) is baked into the registry.
blueprint_ref_base: Option<PathBuf>Base dir for $file / $agent_md ref expansion in seeded Blueprints.
git_store_path: Option<PathBuf>Root path for the git-backed BlueprintStore (when using the git2 backend).
seed_blueprint_id: Option<String>Seed blueprint id used in combined-mode default routing.
default_agent_kind: Option<String>snake_case AgentKind literal (operator / agent_block / rust_fn /
lua / subprocess). Validated by the caller after resolve.
token_secret: Option<String>Shared secret used to verify/sign CapToken HMAC signatures.
Trait Implementations§
Source§impl Clone for FileConfig
impl Clone for FileConfig
Source§fn clone(&self) -> FileConfig
fn clone(&self) -> FileConfig
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 FileConfig
impl Debug for FileConfig
Source§impl Default for FileConfig
impl Default for FileConfig
Source§fn default() -> FileConfig
fn default() -> FileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileConfig
impl<'de> Deserialize<'de> for FileConfig
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
Source§impl PartialEq for FileConfig
impl PartialEq for FileConfig
Source§fn eq(&self, other: &FileConfig) -> bool
fn eq(&self, other: &FileConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileConfig
Auto Trait Implementations§
impl Freeze for FileConfig
impl RefUnwindSafe for FileConfig
impl Send for FileConfig
impl Sync for FileConfig
impl Unpin for FileConfig
impl UnsafeUnpin for FileConfig
impl UnwindSafe for FileConfig
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
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>
Converts
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>
Converts
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