pub struct Tweets {Show 30 fields
pub attachments: Option<Attachments>,
pub author_id: Option<String>,
pub card_uri: Option<String>,
pub community_id: Option<String>,
pub context_annotations: Option<Vec<ContextAnnotations>>,
pub conversation_id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub display_text_range: Option<Vec<i64>>,
pub edit_controls: Option<EditControls>,
pub edit_history_tweet_ids: Option<Vec<String>>,
pub entities: Option<Entities>,
pub geo: Option<Geo>,
pub id: String,
pub in_reply_to_user_id: Option<String>,
pub lang: Option<String>,
pub media_metadata: Option<Vec<MediaMetadata>>,
pub non_public_metrics: Option<NonPublicMetrics>,
pub note_tweet: Option<NoteTweet>,
pub organic_metrics: Option<OrganicMetrics>,
pub possibly_sensitive: Option<bool>,
pub promoted_metrics: Option<PromotedMetrics>,
pub public_metrics: Option<PublicMetrics>,
pub referenced_tweets: Option<Vec<ReferencedTweets>>,
pub reply_settings: Option<String>,
pub scopes: Option<Scopes>,
pub source: Option<String>,
pub text: String,
pub username: Option<String>,
pub withheld: Option<Withheld>,
pub extra: HashMap<String, Value>,
}Fields§
§attachments: Option<Attachments>§card_uri: Option<String>§community_id: Option<String>§context_annotations: Option<Vec<ContextAnnotations>>§conversation_id: Option<String>§created_at: Option<DateTime<Utc>>§display_text_range: Option<Vec<i64>>§edit_controls: Option<EditControls>§edit_history_tweet_ids: Option<Vec<String>>§entities: Option<Entities>§geo: Option<Geo>§id: String§in_reply_to_user_id: Option<String>§lang: Option<String>§media_metadata: Option<Vec<MediaMetadata>>§non_public_metrics: Option<NonPublicMetrics>§note_tweet: Option<NoteTweet>§organic_metrics: Option<OrganicMetrics>§possibly_sensitive: Option<bool>§promoted_metrics: Option<PromotedMetrics>§public_metrics: Option<PublicMetrics>§referenced_tweets: Option<Vec<ReferencedTweets>>§reply_settings: Option<String>§scopes: Option<Scopes>§source: Option<String>§text: String§username: Option<String>§withheld: Option<Withheld>§extra: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tweets
impl<'de> Deserialize<'de> for Tweets
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 StructuralPartialEq for Tweets
Auto Trait Implementations§
impl Freeze for Tweets
impl RefUnwindSafe for Tweets
impl Send for Tweets
impl Sync for Tweets
impl Unpin for Tweets
impl UnwindSafe for Tweets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more