Skip to navigation

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

pub struct BundledSkills {
    pub enabled: bool,
    pub include: Option<Vec<String>>,
    pub exclude: Option<Vec<String>>,
}

Bundled-skill selection.

include and exclude are mutually exclusive, and neither may be combined with enabled: false; a null list reads as omitted. An empty include selects no bundled skills; an empty exclude selects all of them.

Fields

enabled: bool

Whether bundled skills load at all.

include: Option<Vec<String>>

Load only these bundled skills. None and [] differ.

exclude: Option<Vec<String>>

Load every bundled skill except these. None and [] differ.

Trait Implementations

impl Clone for BundledSkills

impl Clone for BundledSkills

clone

fn clone(&self) -> Self

clone_from

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

impl Debug for BundledSkills

impl Debug for BundledSkills

fmt

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

impl Default for BundledSkills

impl Default for BundledSkills

default

fn default() -> Self

impl<'de> Deserialize<'de> for BundledSkills

impl<'de> Deserialize<'de> for BundledSkills

deserialize

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

impl Eq for BundledSkills

impl Eq for BundledSkills

impl JsonSchema for BundledSkills

impl JsonSchema for BundledSkills

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 BundledSkills

impl PartialEq for BundledSkills

eq

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

ne

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

impl Serialize for BundledSkills

impl Serialize for BundledSkills

serialize

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

impl StructuralPartialEq for BundledSkills

impl StructuralPartialEq for BundledSkills