Trait gotcha::Operable

source ·
pub trait Operable {
    // Required methods
    fn id(&self) -> &'static str;
    fn method(&self) -> Method;
    fn uri(&self) -> &'static str;
    fn group(&self) -> Option<String>;
    fn description(&self) -> Option<&'static str>;
    fn deprecated(&self) -> bool;
    fn parameters(&self) -> Vec<Parameter, Global> ;

    // Provided method
    fn generate(&self) -> Operation { ... }
}

Required Methods§

source

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

source

fn method(&self) -> Method

source

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

source

fn group(&self) -> Option<String>

source

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

source

fn deprecated(&self) -> bool

source

fn parameters(&self) -> Vec<Parameter, Global>

Provided Methods§

Implementors§