pub struct UserDescription {
pub broadcaster_type: BroadcasterType,
pub description: String,
pub display_name: UserName,
pub email: Option<UserEmail>,
pub id: UserId,
pub login: UserLogin,
pub offline_image_url: Url,
pub profile_image_url: Url,
/* private fields */
}
Expand description
A single user datum returned by GetUsersRequest
Fields§
§broadcaster_type: BroadcasterType
§description: String
§display_name: UserName
§email: Option<UserEmail>
The email of the user, will only be returned if the access token provided
has the scope
‘user:read:email’
id: UserId
§login: UserLogin
§offline_image_url: Url
§profile_image_url: Url
Trait Implementations§
Source§impl Debug for UserDescription
impl Debug for UserDescription
Source§impl<'de> Deserialize<'de> for UserDescription
impl<'de> Deserialize<'de> for UserDescription
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 UserDescription
impl RefUnwindSafe for UserDescription
impl Send for UserDescription
impl Sync for UserDescription
impl Unpin for UserDescription
impl UnwindSafe for UserDescription
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