Enum twapi_v2::fields::user_fields::UserFields
source · pub enum UserFields {
Show 15 variants
CreatedAt,
Description,
Entities,
Id,
Location,
Name,
PinnedTweetId,
ProfileImageUrl,
Protected,
PublicMetrics,
Url,
Username,
Verified,
VerifiedType,
Withheld,
}Variants§
CreatedAt
Description
Entities
Id
Location
Name
PinnedTweetId
ProfileImageUrl
Protected
PublicMetrics
Url
Username
Verified
VerifiedType
Withheld
Implementations§
Trait Implementations§
source§impl Clone for UserFields
impl Clone for UserFields
source§fn clone(&self) -> UserFields
fn clone(&self) -> UserFields
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UserFields
impl Debug for UserFields
source§impl Default for UserFields
impl Default for UserFields
source§impl<'de> Deserialize<'de> for UserFields
impl<'de> Deserialize<'de> for UserFields
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
source§impl Display for UserFields
impl Display for UserFields
source§impl Hash for UserFields
impl Hash for UserFields
source§impl PartialEq<UserFields> for UserFields
impl PartialEq<UserFields> for UserFields
source§fn eq(&self, other: &UserFields) -> bool
fn eq(&self, other: &UserFields) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UserFields
impl Serialize for UserFields
impl Eq for UserFields
impl StructuralEq for UserFields
impl StructuralPartialEq for UserFields
Auto Trait Implementations§
impl RefUnwindSafe for UserFields
impl Send for UserFields
impl Sync for UserFields
impl Unpin for UserFields
impl UnwindSafe for UserFields
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.