pub enum MessageEntityKind {
Mention,
Hashtag,
BotCommand,
Url,
Email,
Bold,
Italic,
Code,
Pre,
TextLink(String),
TextMention(User),
// some variants omitted
}Expand description
Kind of the entity.
Variants§
Trait Implementations§
Source§impl Clone for MessageEntityKind
impl Clone for MessageEntityKind
Source§fn clone(&self) -> MessageEntityKind
fn clone(&self) -> MessageEntityKind
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 MessageEntityKind
impl Debug for MessageEntityKind
Source§impl PartialEq for MessageEntityKind
impl PartialEq for MessageEntityKind
Source§impl PartialOrd for MessageEntityKind
impl PartialOrd for MessageEntityKind
impl StructuralPartialEq for MessageEntityKind
Auto Trait Implementations§
impl Freeze for MessageEntityKind
impl RefUnwindSafe for MessageEntityKind
impl Send for MessageEntityKind
impl Sync for MessageEntityKind
impl Unpin for MessageEntityKind
impl UnwindSafe for MessageEntityKind
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