pub enum MessageEntityType {
Show 16 variants
Mention,
Hashtag,
Cashtag,
BotCommand,
Url,
Email,
PhoneNumber,
Bold,
Italic,
Underline,
Strikethrough,
Code,
Pre,
TextLink,
TextMention,
Spoiler,
}
Variants
Mention
Hashtag
Cashtag
BotCommand
Url
Email
PhoneNumber
Bold
Italic
Underline
Strikethrough
Code
Pre
TextLink
TextMention
Spoiler
Trait Implementations
sourceimpl Clone for MessageEntityType
impl Clone for MessageEntityType
sourcefn clone(&self) -> MessageEntityType
fn clone(&self) -> MessageEntityType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageEntityType
impl Debug for MessageEntityType
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more