#[repr(C)]pub struct UserData {
pub id: String,
pub login: String,
pub name: String,
pub user_type: UserType,
pub broadcaster_type: BroadcasterType,
pub description: String,
pub profile_image_url: String,
pub offline_image_url: String,
pub view_count: u32,
pub email: Option<String>,
pub created_at: String,
}Fields§
§id: String§login: String§name: String§user_type: UserType§broadcaster_type: BroadcasterType§description: String§profile_image_url: String§offline_image_url: String§view_count: u32§email: Option<String>§created_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UserData
impl<'de> Deserialize<'de> for UserData
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 UserData
impl RefUnwindSafe for UserData
impl Send for UserData
impl Sync for UserData
impl Unpin for UserData
impl UnwindSafe for UserData
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