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

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

Required Methods§

source

fn tag(&self) -> &str

source

fn description(&self) -> &str

Provided Methods§

source

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

source

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

Implementors§