pub struct ServicesConfig {
pub includes: Vec<String>,
pub settings: Settings,
pub agents: HashMap<String, AgentConfig>,
pub mcp_servers: HashMap<String, Deployment>,
pub scheduler: Option<SchedulerConfig>,
pub ai: AiConfig,
pub web: Option<WebConfig>,
pub plugins: HashMap<String, PluginConfig>,
pub skills: SkillsConfig,
pub content: ContentConfig,
pub external_agents: HashMap<ExternalAgentId, ExternalAgentConfig>,
}Expand description
The single canonical shape of a services config file.
A root config file and an include file deserialize into the same struct.
settings is meaningful only at the root; the loader rejects an include
that sets it (ConfigLoadError::IncludeMustNotSetGlobalSettings) rather
than silently ignoring the value.
Fields§
§includes: Vec<String>§settings: Settings§agents: HashMap<String, AgentConfig>§mcp_servers: HashMap<String, Deployment>§scheduler: Option<SchedulerConfig>§ai: AiConfig§web: Option<WebConfig>§plugins: HashMap<String, PluginConfig>§skills: SkillsConfig§content: ContentConfig§external_agents: HashMap<ExternalAgentId, ExternalAgentConfig>Implementations§
Source§impl ServicesConfig
impl ServicesConfig
pub fn validate(&self) -> Result<(), ConfigValidationError>
Trait Implementations§
Source§impl Clone for ServicesConfig
impl Clone for ServicesConfig
Source§fn clone(&self) -> ServicesConfig
fn clone(&self) -> ServicesConfig
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 ServicesConfig
impl Debug for ServicesConfig
Source§impl Default for ServicesConfig
impl Default for ServicesConfig
Source§fn default() -> ServicesConfig
fn default() -> ServicesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServicesConfig
impl<'de> Deserialize<'de> for ServicesConfig
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 ServicesConfig
impl RefUnwindSafe for ServicesConfig
impl Send for ServicesConfig
impl Sync for ServicesConfig
impl Unpin for ServicesConfig
impl UnsafeUnpin for ServicesConfig
impl UnwindSafe for ServicesConfig
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