pub struct ProfileDef {
pub profile: ProfileMeta,
pub config: Option<OrcsConfig>,
pub components: HashMap<String, Table>,
}Expand description
Profile definition parsed from TOML.
Contains config overrides (applied to OrcsConfig) and
per-component settings (distributed via EventBus).
Fields§
§profile: ProfileMetaProfile metadata.
config: Option<OrcsConfig>Config overrides (partial OrcsConfig).
These fields are merged into the active OrcsConfig
using the same overlay semantics as project config.
components: HashMap<String, Table>Per-component settings, keyed by component last-name or FQL.
Each entry is an arbitrary TOML table sent to the target
component as a profile_apply request payload.
§Example
[components.skill_manager]
activate = ["rust-dev"]Implementations§
Trait Implementations§
Source§impl Clone for ProfileDef
impl Clone for ProfileDef
Source§fn clone(&self) -> ProfileDef
fn clone(&self) -> ProfileDef
Returns a duplicate of the value. Read more
1.0.0 · 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 ProfileDef
impl Debug for ProfileDef
Source§impl Default for ProfileDef
impl Default for ProfileDef
Source§fn default() -> ProfileDef
fn default() -> ProfileDef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileDefwhere
ProfileDef: Default,
impl<'de> Deserialize<'de> for ProfileDefwhere
ProfileDef: Default,
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 ProfileDef
impl PartialEq for ProfileDef
Source§impl Serialize for ProfileDef
impl Serialize for ProfileDef
impl StructuralPartialEq for ProfileDef
Auto Trait Implementations§
impl Freeze for ProfileDef
impl RefUnwindSafe for ProfileDef
impl Send for ProfileDef
impl Sync for ProfileDef
impl Unpin for ProfileDef
impl UnsafeUnpin for ProfileDef
impl UnwindSafe for ProfileDef
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