Struct Tweet

Source
pub struct Tweet {
Show 34 fields pub converation_id: String, pub gifs: Vec<GIF>, pub hash_tags: Vec<String>, pub html: String, pub id: String, pub in_reply_to_status: Option<Box<Tweet>>, pub in_reply_to_status_id: Option<String>, pub is_quoted: bool, pub is_pin: bool, pub is_reply: bool, pub is_retweet: bool, pub is_self_thread: bool, pub likes: i128, pub name: String, pub mentions: Vec<Mention>, pub permanent_url: String, pub photos: Vec<Photo>, pub place: Option<Place>, pub quoted_status: Option<Box<Tweet>>, pub quoted_status_id: Option<String>, pub replies: i128, pub retweets: i128, pub retweeted_status: Option<Box<Tweet>>, pub retweeted_status_id: String, pub text: String, pub thread: Vec<Box<Tweet>>, pub time_parsed: DateTime<FixedOffset>, pub timestamp: i64, pub urls: Vec<String>, pub user_id: String, pub username: String, pub videos: Vec<Video>, pub views: i128, pub sensitive_content: bool,
}

Fields§

§converation_id: String§gifs: Vec<GIF>§hash_tags: Vec<String>§html: String§id: String§in_reply_to_status: Option<Box<Tweet>>§in_reply_to_status_id: Option<String>§is_quoted: bool§is_pin: bool§is_reply: bool§is_retweet: bool§is_self_thread: bool§likes: i128§name: String§mentions: Vec<Mention>§permanent_url: String§photos: Vec<Photo>§place: Option<Place>§quoted_status: Option<Box<Tweet>>§quoted_status_id: Option<String>§replies: i128§retweets: i128§retweeted_status: Option<Box<Tweet>>§retweeted_status_id: String§text: String§thread: Vec<Box<Tweet>>§time_parsed: DateTime<FixedOffset>§timestamp: i64§urls: Vec<String>§user_id: String§username: String§videos: Vec<Video>§views: i128§sensitive_content: bool

Auto Trait Implementations§

§

impl Freeze for Tweet

§

impl RefUnwindSafe for Tweet

§

impl Send for Tweet

§

impl Sync for Tweet

§

impl Unpin for Tweet

§

impl UnwindSafe for Tweet

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T