pub struct User2 {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: Option<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: Option<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 User2
impl<'de> Deserialize<'de> for User2
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 User2
Auto Trait Implementations§
impl Freeze for User2
impl RefUnwindSafe for User2
impl Send for User2
impl Sync for User2
impl Unpin for User2
impl UnwindSafe for User2
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