pub struct User {Show 21 fields
pub avatar_url: Option<String>,
pub deleted: Option<bool>,
pub email: Option<Option<String>>,
pub events_url: Option<String>,
pub followers_url: Option<String>,
pub following_url: Option<String>,
pub gists_url: Option<String>,
pub gravatar_id: Option<String>,
pub html_url: Option<String>,
pub id: i32,
pub login: String,
pub name: Option<String>,
pub node_id: Option<String>,
pub organizations_url: Option<String>,
pub received_events_url: Option<String>,
pub repos_url: Option<String>,
pub site_admin: Option<bool>,
pub starred_url: Option<String>,
pub subscriptions_url: Option<String>,
pub type: Option<Type>,
pub url: Option<String>,
}
Fields§
§avatar_url: Option<String>
§deleted: Option<bool>
§email: Option<Option<String>>
§events_url: Option<String>
§followers_url: Option<String>
§following_url: Option<String>
§gists_url: Option<String>
§gravatar_id: Option<String>
§html_url: Option<String>
§id: i32
§login: String
§name: Option<String>
§node_id: Option<String>
§organizations_url: Option<String>
§received_events_url: Option<String>
§repos_url: Option<String>
§site_admin: Option<bool>
§starred_url: Option<String>
§subscriptions_url: Option<String>
§type: Option<Type>
§url: Option<String>
Implementations§
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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