Trait serenity::model::misc::Mentionable [−][src]
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.
Implementors
impl Mentionable for ChannelId
impl Mentionable for Channel
impl Mentionable for ChannelCategory
impl Mentionable for CurrentUser
impl Mentionable for Emoji
impl Mentionable for Group
impl Mentionable for Member
impl Mentionable for PrivateChannel
impl Mentionable for RoleId
impl Mentionable for Role
impl Mentionable for UserId
impl Mentionable for User
impl Mentionable for GuildChannel