pub enum MentionFormat {
DisplayName,
RealName,
Username,
}Expand description
Format option for mention resolution
Variants§
Trait Implementations§
Source§impl Clone for MentionFormat
impl Clone for MentionFormat
Source§fn clone(&self) -> MentionFormat
fn clone(&self) -> MentionFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MentionFormat
impl Debug for MentionFormat
Source§impl FromStr for MentionFormat
impl FromStr for MentionFormat
Source§impl PartialEq for MentionFormat
impl PartialEq for MentionFormat
impl Copy for MentionFormat
impl StructuralPartialEq for MentionFormat
Auto Trait Implementations§
impl Freeze for MentionFormat
impl RefUnwindSafe for MentionFormat
impl Send for MentionFormat
impl Sync for MentionFormat
impl Unpin for MentionFormat
impl UnwindSafe for MentionFormat
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