Enum Descriptor Source

View as Markdown

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

1pub enum DescriptorSource {
2 Bundled,
3 InstalledPackage,
4 ExplicitLocal,
5}

Where NeMo Fabric discovered descriptor metadata.

Variants

Bundled

Bundled

Descriptor bundled with this NeMo Fabric build.

InstalledPackage

InstalledPackage

Descriptor installed as package data in the selected environment.

ExplicitLocal

ExplicitLocal

Descriptor supplied through FabricConfig.discovery.local_paths.

Implementations

impl DescriptorSource

impl DescriptorSource

as_str

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

Stable serialized name used in diagnostics.

Trait Implementations

impl Clone for DescriptorSource

impl Clone for DescriptorSource

clone

fn clone(&self) -> DescriptorSource

clone_from

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

impl Debug for DescriptorSource

impl Debug for DescriptorSource

fmt

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

impl<'de> Deserialize<'de> for DescriptorSource

impl<'de> Deserialize<'de> for DescriptorSource

deserialize

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

impl JsonSchema for DescriptorSource

impl JsonSchema for DescriptorSource

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 DescriptorSource

impl PartialEq for DescriptorSource

eq

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

ne

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

impl Serialize for DescriptorSource

impl Serialize for DescriptorSource

serialize

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

impl Copy for DescriptorSource

impl Copy for DescriptorSource

impl Eq for DescriptorSource

impl Eq for DescriptorSource

impl StructuralPartialEq for DescriptorSource

impl StructuralPartialEq for DescriptorSource