Trait serenity::model::guild::BanOptions [] [src]

pub trait BanOptions {
    fn dmd(&self) -> u8 { ... }
fn reason(&self) -> &str { ... } }

A trait for allowing both u8 or &str or (u8, &str) to be passed into the ban methods in Guild and Member.

Provided Methods

Implementations on Foreign Types

impl BanOptions for u8
[src]

[src]

[src]

impl BanOptions for str
[src]

[src]

[src]

impl<'a> BanOptions for &'a str
[src]

[src]

[src]

impl BanOptions for String
[src]

[src]

[src]

impl<'a> BanOptions for (u8, &'a str)
[src]

[src]

[src]

impl BanOptions for (u8, String)
[src]

[src]

[src]

Implementors