[][src]Struct egg_mode::user::UserEntities

pub struct UserEntities {
    pub description: UserEntityDetail,
    pub url: Option<UserEntityDetail>,
}

Container for URL entity information that may be paired with a user's profile.

Fields

description: UserEntityDetail

URL 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

impl Clone for UserEntities[src]

impl Debug for UserEntities[src]

impl Default for UserEntities[src]

impl<'de> Deserialize<'de> for UserEntities[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,