[−][src]Struct telegram_bot_raw::types::message::MessageEntity
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
Fields
offset: Integer
Offset in UTF-16 code units to the start of the entity
length: Integer
Length of the entity in UTF-16 code units
kind: MessageEntityKind
Kind of the entity.
Trait Implementations
impl Clone for MessageEntity
[src]
fn clone(&self) -> MessageEntity
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MessageEntity
[src]
impl<'de> Deserialize<'de> for MessageEntity
[src]
fn deserialize<D>(deserializer: D) -> Result<MessageEntity, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<MessageEntity> for MessageEntity
[src]
fn eq(&self, other: &MessageEntity) -> bool
[src]
fn ne(&self, other: &MessageEntity) -> bool
[src]
impl PartialOrd<MessageEntity> for MessageEntity
[src]
fn partial_cmp(&self, other: &MessageEntity) -> Option<Ordering>
[src]
fn lt(&self, other: &MessageEntity) -> bool
[src]
fn le(&self, other: &MessageEntity) -> bool
[src]
fn gt(&self, other: &MessageEntity) -> bool
[src]
fn ge(&self, other: &MessageEntity) -> bool
[src]
impl StructuralPartialEq for MessageEntity
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageEntity
[src]
impl Send for MessageEntity
[src]
impl Sync for MessageEntity
[src]
impl Unpin for MessageEntity
[src]
impl UnwindSafe for MessageEntity
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,