[−][src]Struct tweet::User
Represents a twitter user
Fields
id: u64
Unique identifier for the user
id_str: String
Same as id
, but a String
name: String
The user's display name
screen_name: String
The user's handle
location: Option<String>
The user-defined location of the user
url: Option<String>
User-provided URL associated with their profile
description: Option<String>
User-provided description of their profile
protected: bool
Whether this user's tweets are protected or not
verified: bool
Whether this user is verified or not
followers_count: u32
How many followers this user has
friends_count: u32
How many friends this user has
listed_count: u32
How many public lists this user is a member of
favourites_count: u32
How many favorites this user has
statuses_count: u32
How many tweets and retweets this user has
created_at: DateTime<Utc>
When the account was created
User's uploaded profile banner
profile_image_url_https: String
User's uploaded profile image
default_profile: bool
When true, indicates user has not changed theme or background of their profile
default_profile_image: bool
Whether or not the user has a default profile image or not
withheld_in_countries: Option<Vec<String>>
Which countries this user is blocked in
withheld_scope: Option<String>
Indicates whether content being withheld is a "user"
Trait Implementations
impl Debug for User
[src]
impl Serialize for User
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for User
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,