pub struct ChannelMention(/* private fields */);Expand description
Mentions a channel: <#CHANNEL_ID>. Returned by channel_mention.
discord.js counterpart: ChannelMention.
Trait Implementations§
Source§impl Clone for ChannelMention
impl Clone for ChannelMention
impl Copy for ChannelMention
Source§impl Debug for ChannelMention
impl Debug for ChannelMention
Source§impl Display for ChannelMention
impl Display for ChannelMention
impl Eq for ChannelMention
Source§impl Hash for ChannelMention
impl Hash for ChannelMention
Source§impl PartialEq for ChannelMention
impl PartialEq for ChannelMention
impl StructuralPartialEq for ChannelMention
Auto Trait Implementations§
impl Freeze for ChannelMention
impl RefUnwindSafe for ChannelMention
impl Send for ChannelMention
impl Sync for ChannelMention
impl Unpin for ChannelMention
impl UnsafeUnpin for ChannelMention
impl UnwindSafe for ChannelMention
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ListEntry for Twhere
T: WriteEntry + ?Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more