Skip to navigation

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

pub enum SkillDirectoryKind {
Skill,
Folder,
}

Kind of one structured external-skill entry.

Variants

Skill

Skill

One skill’s folder, which contains SKILL.md.

Folder

Folder

A folder whose skills the adapter discovers.

Implementations

impl SkillDirectoryKind

impl SkillDirectoryKind

as_str

pub const fn as_str(self) -> &'static str

Stable wire name for this entry kind.

Trait Implementations

impl Clone for SkillDirectoryKind

impl Clone for SkillDirectoryKind

clone

fn clone(&self) -> Self

clone_from

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

impl Copy for SkillDirectoryKind

impl Copy for SkillDirectoryKind

impl Debug for SkillDirectoryKind

impl Debug for SkillDirectoryKind

fmt

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

impl<'de> Deserialize<'de> for SkillDirectoryKind

impl<'de> Deserialize<'de> for SkillDirectoryKind

deserialize

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

impl Eq for SkillDirectoryKind

impl Eq for SkillDirectoryKind

impl Hash for SkillDirectoryKind

impl Hash for SkillDirectoryKind

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl JsonSchema for SkillDirectoryKind

impl JsonSchema for SkillDirectoryKind

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 Ord for SkillDirectoryKind

impl Ord for SkillDirectoryKind

cmp

fn cmp(&self, other: &Self) -> Ordering

max

fn max(self, other: Self) -> Selfwhere
    Self: Sized,

min

fn min(self, other: Self) -> Selfwhere
    Self: Sized,

clamp

fn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: Sized,

clamp_to

fn clamp_to<R>(self, range: R) -> Selfwhere
    Self: Sized,
    R: ClampBounds<Self>,

impl PartialEq for SkillDirectoryKind

impl PartialEq for SkillDirectoryKind

eq

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

ne

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

impl PartialOrd for SkillDirectoryKind

impl PartialOrd for SkillDirectoryKind

partial_cmp

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

lt

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

le

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

gt

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

ge

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

impl Serialize for SkillDirectoryKind

impl Serialize for SkillDirectoryKind

serialize

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

impl StructuralPartialEq for SkillDirectoryKind

impl StructuralPartialEq for SkillDirectoryKind