pub struct GetTextEntities {
pub text: String,
}
Expand description
Returns all entities (mentions, hashtags, cashtags, bot commands, URLs, and email addresses) contained in the text. This is an offline method. Can be called before authorization. Can be called synchronously
Fields§
§text: String
The text in which to look for entites
Trait Implementations§
Source§impl Clone for GetTextEntities
impl Clone for GetTextEntities
Source§fn clone(&self) -> GetTextEntities
fn clone(&self) -> GetTextEntities
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 GetTextEntities
impl Debug for GetTextEntities
Source§impl<'de> Deserialize<'de> for GetTextEntities
impl<'de> Deserialize<'de> for GetTextEntities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetTextEntities
impl Method for GetTextEntities
Auto Trait Implementations§
impl Freeze for GetTextEntities
impl RefUnwindSafe for GetTextEntities
impl Send for GetTextEntities
impl Sync for GetTextEntities
impl Unpin for GetTextEntities
impl UnwindSafe for GetTextEntities
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