pub struct ChannelLink { /* private fields */ }Expand description
A link to a channel: https://discord.com/channels/GUILD_ID/CHANNEL_ID, or @me in place
of the server for a DM. Returned by channel_link.
discord.js counterpart: the string channelLink returns (@discordjs/formatters).
Implementations§
Source§impl ChannelLink
impl ChannelLink
Trait Implementations§
Source§impl Clone for ChannelLink
impl Clone for ChannelLink
impl Copy for ChannelLink
Source§impl Debug for ChannelLink
impl Debug for ChannelLink
Source§impl Display for ChannelLink
impl Display for ChannelLink
impl Eq for ChannelLink
Source§impl Hash for ChannelLink
impl Hash for ChannelLink
Source§impl PartialEq for ChannelLink
impl PartialEq for ChannelLink
impl StructuralPartialEq for ChannelLink
Auto Trait Implementations§
impl Freeze for ChannelLink
impl RefUnwindSafe for ChannelLink
impl Send for ChannelLink
impl Sync for ChannelLink
impl Unpin for ChannelLink
impl UnsafeUnpin for ChannelLink
impl UnwindSafe for ChannelLink
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