[][src]Trait serenity::framework::standard::CommonOptions

pub trait CommonOptions {
    fn required_permissions(&self) -> &Permissions;
fn allowed_roles(&self) -> &'static [&'static str];
fn only_in(&self) -> OnlyIn;
fn help_available(&self) -> bool;
fn owners_only(&self) -> bool;
fn owner_privilege(&self) -> bool; }

Required methods

fn required_permissions(&self) -> &Permissions

fn allowed_roles(&self) -> &'static [&'static str]

fn only_in(&self) -> OnlyIn

fn help_available(&self) -> bool

fn owners_only(&self) -> bool

fn owner_privilege(&self) -> bool

Loading content...

Implementors

impl<'_> CommonOptions for &'_ CommandOptions[src]

impl<'_> CommonOptions for &'_ GroupOptions[src]

Loading content...