pub struct Profile {Show 17 fields
pub id: String,
pub username: String,
pub name: String,
pub description: Option<String>,
pub location: Option<String>,
pub url: Option<String>,
pub protected: bool,
pub verified: bool,
pub followers_count: i32,
pub following_count: i32,
pub tweets_count: i32,
pub listed_count: i32,
pub created_at: DateTime<Utc>,
pub profile_image_url: Option<String>,
pub profile_banner_url: Option<String>,
pub pinned_tweet_id: Option<String>,
pub is_blue_verified: Option<bool>,
}Fields§
§id: String§username: String§name: String§description: Option<String>§location: Option<String>§url: Option<String>§protected: bool§verified: bool§followers_count: i32§following_count: i32§tweets_count: i32§listed_count: i32§created_at: DateTime<Utc>§profile_image_url: Option<String>§pinned_tweet_id: Option<String>§is_blue_verified: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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