pub struct Settings {
pub agent_port_range: (u16, u16),
pub mcp_port_range: (u16, u16),
pub auto_start_enabled: bool,
pub validation_strict: bool,
pub schema_validation_mode: String,
pub services_path: Option<String>,
pub skills_path: Option<String>,
pub config_path: Option<String>,
pub marketplace_public: bool,
}Available on crate feature
core only.Fields§
§agent_port_range: (u16, u16)§mcp_port_range: (u16, u16)§auto_start_enabled: bool§validation_strict: bool§schema_validation_mode: String§services_path: Option<String>§skills_path: Option<String>§config_path: Option<String>§marketplace_public: boolImplementations§
Source§impl Settings
impl Settings
pub fn apply_env_overrides(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Settings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Settings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Settings
impl Serialize for Settings
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,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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