Trait serenity::model::misc::Mentionable[][src]

pub trait Mentionable {
    fn mention(&self) -> String;
}

Allows something - such as a channel or role - to be mentioned in a message.

Required Methods

Creates a mentionable string, that will be able to notify and/or create a link to the item.

Implementors