Trait proto::Describable

source ·
pub trait Describable<'tool>: Send + Sync {
    // Required methods
    fn get_id(&self) -> &str;
    fn get_name(&self) -> String;
}

Required Methods§

source

fn get_id(&self) -> &str

Return an identifier for the tool. Will also be used in variables, file names, and more.

source

fn get_name(&self) -> String

Return a human readable name of the tool.

Implementations on Foreign Types§

source§

impl Describable<'_> for NodeDependencyManager

source§

fn get_id(&self) -> &str

source§

fn get_name(&self) -> String

source§

impl Describable<'_> for NodeLanguage

source§

fn get_id(&self) -> &str

source§

fn get_name(&self) -> String

source§

impl Describable<'_> for RustLanguage

source§

fn get_id(&self) -> &str

source§

fn get_name(&self) -> String

source§

impl Describable<'_> for SchemaPlugin

source§

fn get_id(&self) -> &str

source§

fn get_name(&self) -> String

source§

impl Describable<'_> for WasmPlugin

source§

fn get_id(&self) -> &str

source§

fn get_name(&self) -> String

Implementors§