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 copy 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<MessageEntityKind> for MessageEntityKind
impl PartialEq<MessageEntityKind> for MessageEntityKind
source§fn eq(&self, other: &MessageEntityKind) -> bool
fn eq(&self, other: &MessageEntityKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MessageEntityKind> for MessageEntityKind
impl PartialOrd<MessageEntityKind> for MessageEntityKind
source§fn partial_cmp(&self, other: &MessageEntityKind) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageEntityKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more