pub struct UserEntities {
pub description: UserEntityDetail,
pub url: Option<UserEntityDetail>,
}Expand description
Container for URL entity information that may be paired with a user’s profile.
Fields§
§description: UserEntityDetailURL information that has been parsed out of the user’s description. If no URLs were
detected, then the contained Vec will be empty.
url: Option<UserEntityDetail>Link information for the user’s url.
If url is present on the user’s profile, so will this field. Twitter validates the URL
entered to a user’s profile when they save it, so this can be reasonably assumed to have URL
information if it’s present.
Trait Implementations§
Source§impl Clone for UserEntities
impl Clone for UserEntities
Source§fn clone(&self) -> UserEntities
fn clone(&self) -> UserEntities
Returns a duplicate 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 UserEntities
impl Debug for UserEntities
Source§impl Default for UserEntities
impl Default for UserEntities
Source§fn default() -> UserEntities
fn default() -> UserEntities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserEntities
impl<'de> Deserialize<'de> for UserEntities
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 UserEntities
impl RefUnwindSafe for UserEntities
impl Send for UserEntities
impl Sync for UserEntities
impl Unpin for UserEntities
impl UnwindSafe for UserEntities
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