Struct egg_mode::user::UserEntities [−][src]
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
Returns the “default value” for a type. Read more
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 RefUnwindSafe for UserEntitiesimpl Send for UserEntitiesimpl Sync for UserEntitiesimpl Unpin for UserEntitiesimpl UnwindSafe for UserEntitiesBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V