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
fn mention(&self) -> String
Creates a mentionable string, that will be able to notify and/or create a link to the item.