Skip to navigation

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct AdapterSkillsSupport {
    pub directory_loading: Option<SkillDirectoryLoadingSupport>,
    pub bundled: Option<BundledSkillsSupport>,
    pub duplicates: Option<SkillDuplicatesSupport>,
    pub extensions: BTreeMap<String, Value>,
}

Structured skill capabilities implemented by an adapter.

Each sub-block is optional; an omitted block means the adapter does not implement that capability; null reads as omitted. A non-null duplicates requires a non-null directory_loading. The adapter must also accept the skills config field in config.accepts.

Fields

directory_loading: Option<SkillDirectoryLoadingSupport>

Structured skills.directories loading.

bundled: Option<BundledSkillsSupport>

Bundled-skill selection through skills.bundled.

duplicates: Option<SkillDuplicatesSupport>

Duplicate-name policies for skills.duplicates.

extensions: BTreeMap<String, Value>

Additive skill capability fields.

Trait Implementations

impl Clone for AdapterSkillsSupport

impl Clone for AdapterSkillsSupport

clone

fn clone(&self) -> Self

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AdapterSkillsSupport

impl Debug for AdapterSkillsSupport

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AdapterSkillsSupport

impl Default for AdapterSkillsSupport

default

fn default() -> Self

impl<'de> Deserialize<'de> for AdapterSkillsSupport

impl<'de> Deserialize<'de> for AdapterSkillsSupport

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for AdapterSkillsSupport

impl JsonSchema for AdapterSkillsSupport

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for AdapterSkillsSupport

impl PartialEq for AdapterSkillsSupport

eq

fn eq(&self, other: &Self) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AdapterSkillsSupport

impl Serialize for AdapterSkillsSupport

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for AdapterSkillsSupport

impl StructuralPartialEq for AdapterSkillsSupport