Trait TagReflection

Source
pub trait TagReflection {
    // Required methods
    fn tag(&self) -> &'static str;
    fn description(&self) -> &'static str;

    // Provided methods
    fn example(&self) -> Option<&'static str> { ... }
    fn spec(&self) -> Option<&'static str> { ... }
}

Required Methods§

Source

fn tag(&self) -> &'static str

Source

fn description(&self) -> &'static str

Provided Methods§

Source

fn example(&self) -> Option<&'static str>

Source

fn spec(&self) -> Option<&'static str>

Implementors§