pub struct Tweet {Show 20 fields
pub id: NumericId,
pub text: String,
pub attachments: Option<Attachments>,
pub author_id: Option<NumericId>,
pub context_annotations: Option<Vec<ContextAnnotation>>,
pub conversation_id: Option<NumericId>,
pub created_at: Option<OffsetDateTime>,
pub entities: Option<FullTextEntities>,
pub geo: Option<TweetGeo>,
pub in_reply_to_user_id: Option<NumericId>,
pub lang: Option<String>,
pub non_public_metrics: Option<TweetNonPublicMetrics>,
pub organic_metrics: Option<TweetOrganicMetrics>,
pub possibly_sensitive: Option<bool>,
pub promoted_metrics: Option<TweetPromotedMetrics>,
pub public_metrics: Option<TweetPublicMetrics>,
pub referenced_tweets: Option<Vec<ReferencedTweet>>,
pub reply_settings: Option<ReplySettings>,
pub source: Option<String>,
pub withheld: Option<Withheld>,
}Fields§
§id: NumericId§text: String§attachments: Option<Attachments>§context_annotations: Option<Vec<ContextAnnotation>>§conversation_id: Option<NumericId>§created_at: Option<OffsetDateTime>§entities: Option<FullTextEntities>§geo: Option<TweetGeo>§in_reply_to_user_id: Option<NumericId>§lang: Option<String>§non_public_metrics: Option<TweetNonPublicMetrics>§organic_metrics: Option<TweetOrganicMetrics>§possibly_sensitive: Option<bool>§promoted_metrics: Option<TweetPromotedMetrics>§public_metrics: Option<TweetPublicMetrics>§referenced_tweets: Option<Vec<ReferencedTweet>>§reply_settings: Option<ReplySettings>§source: Option<String>§withheld: Option<Withheld>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tweet
impl<'de> Deserialize<'de> for Tweet
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 Tweet
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> 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