Skip to navigation

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

pub enum SkillDirectory {
    Skill(PathBuf),
    Folder(PathBuf),
}

One structured external-skill entry: exactly one of {"skill": path} or {"folder": path}. The other key may be present only as null, which reads as absent.

Variants

Skill(PathBuf)

Skill(PathBuf)

One skill’s folder; it must contain SKILL.md.

Folder(PathBuf)

Folder(PathBuf)

A folder of skills discovered by the selected adapter.

Implementations

impl SkillDirectory

impl SkillDirectory

kind

pub fn kind(&self) -> SkillDirectoryKind

Entry kind.

path

pub fn path(&self) -> &Path

Configured path.

Trait Implementations

impl Clone for SkillDirectory

impl Clone for SkillDirectory

clone

fn clone(&self) -> Self

clone_from

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

impl Debug for SkillDirectory

impl Debug for SkillDirectory

fmt

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

impl<'de> Deserialize<'de> for SkillDirectory

impl<'de> Deserialize<'de> for SkillDirectory

deserialize

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

impl Eq for SkillDirectory

impl Eq for SkillDirectory

impl JsonSchema for SkillDirectory

impl JsonSchema for SkillDirectory

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 SkillDirectory

impl PartialEq for SkillDirectory

eq

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

ne

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

impl Serialize for SkillDirectory

impl Serialize for SkillDirectory

serialize

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

impl StructuralPartialEq for SkillDirectory

impl StructuralPartialEq for SkillDirectory