pub struct UserMention(/* private fields */);Expand description
Mentions a user: <@USER_ID>. Returned by user_mention.
discord.js counterpart: UserMention.
Trait Implementations§
Source§impl Clone for UserMention
impl Clone for UserMention
impl Copy for UserMention
Source§impl Debug for UserMention
impl Debug for UserMention
Source§impl Display for UserMention
impl Display for UserMention
impl Eq for UserMention
Source§impl Hash for UserMention
impl Hash for UserMention
Source§impl PartialEq for UserMention
impl PartialEq for UserMention
impl StructuralPartialEq for UserMention
Auto Trait Implementations§
impl Freeze for UserMention
impl RefUnwindSafe for UserMention
impl Send for UserMention
impl Sync for UserMention
impl Unpin for UserMention
impl UnsafeUnpin for UserMention
impl UnwindSafe for UserMention
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