pub struct Entities<'a> {
pub hashtags: Vec<Hashtag<'a>>,
pub media: Option<Vec<Media<'a>>>,
pub urls: Vec<Url<'a>>,
pub user_mentions: Vec<UserMention<'a>>,
pub symbols: Vec<Symbol<'a>>,
}Expand description
Represents Entities.
§Reference
Fields§
Represents hashtags which have been parsed out of the Tweet text.
media: Option<Vec<Media<'a>>>Represents media elements uploaded with the Tweet.
urls: Vec<Url<'a>>Represents URLs included in the text of a Tweet
or within textual fields of a User object.
user_mentions: Vec<UserMention<'a>>Represents other Twitter users mentioned in the text of the Tweet.
symbols: Vec<Symbol<'a>>Represents financial symbols which have been parsed out of the Tweet text.
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Entities<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Entities<'a>
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
impl<'a> Eq for Entities<'a>
impl<'a> StructuralPartialEq for Entities<'a>
Auto Trait Implementations§
impl<'a> Freeze for Entities<'a>
impl<'a> RefUnwindSafe for Entities<'a>
impl<'a> Send for Entities<'a>
impl<'a> Sync for Entities<'a>
impl<'a> Unpin for Entities<'a>
impl<'a> UnwindSafe for Entities<'a>
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