pub struct TweetData {
pub id: String,
pub text: String,
pub edit_history_tweet_ids: Option<Vec<String>>,
}Expand description
Tweet data from the API
Fields§
§id: StringUnique identifier of the tweet
text: StringThe actual UTF-8 text of the tweet
edit_history_tweet_ids: Option<Vec<String>>Edit history tweet IDs (if tweet was edited)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TweetData
impl<'de> Deserialize<'de> for TweetData
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
Auto Trait Implementations§
impl Freeze for TweetData
impl RefUnwindSafe for TweetData
impl Send for TweetData
impl Sync for TweetData
impl Unpin for TweetData
impl UnsafeUnpin for TweetData
impl UnwindSafe for TweetData
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