pub struct User {
pub avatar_url: String,
pub banner_url: String,
pub display_name: String,
pub profile_url: String,
pub twitter: String,
pub username: String,
}Expand description
The User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
Fields§
§avatar_url: StringThe User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
The User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
display_name: StringThe User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
profile_url: StringThe User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
twitter: StringThe User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
username: StringThe User Object contains information about the user associated with a GIF and URLs to assets such as that user’s avatar image, profile, and more.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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>,
Source§impl JsonSchema for User
impl JsonSchema for User
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more