pub struct SkillLoaderConfig {
pub service: ServiceConfig,
pub root: String,
}Expand description
Config-loader compatible skill activation source.
Fields§
§service: ServiceConfigEmbedded service config for canonical rskit-config loading.
root: StringRoot directory of the skill pack to activate.
Trait Implementations§
Source§impl AppConfig for SkillLoaderConfig
impl AppConfig for SkillLoaderConfig
Source§fn apply_defaults(&mut self)
fn apply_defaults(&mut self)
Apply any programmatic defaults after deserialization.
Source§fn service_config(&self) -> &ServiceConfig
fn service_config(&self) -> &ServiceConfig
Return a reference to the embedded
ServiceConfig.Source§impl Clone for SkillLoaderConfig
impl Clone for SkillLoaderConfig
Source§fn clone(&self) -> SkillLoaderConfig
fn clone(&self) -> SkillLoaderConfig
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 SkillLoaderConfig
impl Debug for SkillLoaderConfig
Source§impl<'de> Deserialize<'de> for SkillLoaderConfig
impl<'de> Deserialize<'de> for SkillLoaderConfig
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 Validate for SkillLoaderConfig
impl Validate for SkillLoaderConfig
Auto Trait Implementations§
impl Freeze for SkillLoaderConfig
impl RefUnwindSafe for SkillLoaderConfig
impl Send for SkillLoaderConfig
impl Sync for SkillLoaderConfig
impl Unpin for SkillLoaderConfig
impl UnsafeUnpin for SkillLoaderConfig
impl UnwindSafe for SkillLoaderConfig
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