pub enum MessageEntityType {
Show 17 variants
Mention,
Hashtag,
Cashtag,
BotCommand,
Url,
Email,
PhoneNumber,
Bold,
Italic,
Underline,
Strikethrough,
Code,
Pre,
TextLink,
TextMention,
Spoiler,
CustomEmoji,
}
Variants§
Mention
Hashtag
Cashtag
BotCommand
Url
PhoneNumber
Bold
Italic
Underline
Strikethrough
Code
Pre
TextLink
TextMention
Spoiler
CustomEmoji
Trait Implementations§
source§impl Clone for MessageEntityType
impl Clone for MessageEntityType
source§fn clone(&self) -> MessageEntityType
fn clone(&self) -> MessageEntityType
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 MessageEntityType
impl Debug for MessageEntityType
source§impl Display for MessageEntityType
impl Display for MessageEntityType
impl Copy for MessageEntityType
Auto Trait Implementations§
impl RefUnwindSafe for MessageEntityType
impl Send for MessageEntityType
impl Sync for MessageEntityType
impl Unpin for MessageEntityType
impl UnwindSafe for MessageEntityType
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