[][src]Struct tbot::contexts::Command

pub struct Command<C> {
    pub command: String,
    // some fields omitted
}

A wrapping context for commands.

Fields

command: String

The command which fired the handler.

Trait Implementations

impl AnyText for Command<Text>[src]

impl AnyText for Command<EditedText>[src]

impl Context for Command<Text>[src]

impl Context for Command<EditedText>[src]

impl<C> Deref for Command<C>[src]

type Target = C

The resulting type after dereferencing.

impl EditedMessage for Command<EditedText>[src]

impl Forward for Command<Text>[src]

impl Forwardable for Command<Text>[src]

impl Forwardable for Command<EditedText>[src]

impl MediaMessage for Command<Text>[src]

impl MediaMessage for Command<EditedText>[src]

impl Message for Command<Text>[src]

impl Message for Command<EditedText>[src]

impl Pinnable for Command<Text>[src]

impl Pinnable for Command<EditedText>[src]

impl Text for Command<Text>[src]

impl Text for Command<EditedText>[src]

Auto Trait Implementations

impl<C> RefUnwindSafe for Command<C> where
    C: RefUnwindSafe

impl<C> Send for Command<C> where
    C: Send

impl<C> Sync for Command<C> where
    C: Sync

impl<C> Unpin for Command<C> where
    C: Unpin

impl<C> UnwindSafe for Command<C> where
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]