pub struct LinkedRoleMention(/* private fields */);Expand description
Links to a linked role: <id:linked-roles:ROLE_ID>. Returned by linked_role_mention.
discord.js counterpart: the string linkedRoleMention returns (@discordjs/formatters).
Trait Implementations§
Source§impl Clone for LinkedRoleMention
impl Clone for LinkedRoleMention
impl Copy for LinkedRoleMention
Source§impl Debug for LinkedRoleMention
impl Debug for LinkedRoleMention
Source§impl Display for LinkedRoleMention
impl Display for LinkedRoleMention
impl Eq for LinkedRoleMention
Source§impl Hash for LinkedRoleMention
impl Hash for LinkedRoleMention
Source§impl PartialEq for LinkedRoleMention
impl PartialEq for LinkedRoleMention
impl StructuralPartialEq for LinkedRoleMention
Auto Trait Implementations§
impl Freeze for LinkedRoleMention
impl RefUnwindSafe for LinkedRoleMention
impl Send for LinkedRoleMention
impl Sync for LinkedRoleMention
impl Unpin for LinkedRoleMention
impl UnsafeUnpin for LinkedRoleMention
impl UnwindSafe for LinkedRoleMention
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