pub trait Function {
    // Required method
    fn call(&self, args: Value) -> Result<String, InvocationError>;

    // Provided method
    fn help(&self) -> Option<&str> { ... }
}

Required Methods§

Provided Methods§

source

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

Help text that may be used to display information about this function.

Implementors§