pub struct GitHubUser {Show 39 fields
pub login: String,
pub id: i64,
pub node_id: String,
pub avatar_url: String,
pub gravatar_id: String,
pub url: String,
pub html_url: String,
pub followers_url: String,
pub following_url: String,
pub gists_url: String,
pub starred_url: String,
pub subscriptions_url: String,
pub organizations_url: String,
pub repos_url: String,
pub events_url: String,
pub received_events_url: String,
pub account_type: String,
pub site_admin: String,
pub name: String,
pub company: String,
pub blog: String,
pub location: String,
pub email: String,
pub hireable: bool,
pub bio: String,
pub twitter_username: String,
pub public_repos: i64,
pub public_gists: i64,
pub followers: i64,
pub following: i64,
pub created_at: String,
pub updated_at: String,
pub private_gists: Option<i64>,
pub total_private_repos: Option<i64>,
pub owned_private_repos: Option<i64>,
pub disk_usage: Option<i64>,
pub collaborators: Option<i64>,
pub two_factor_authentication: Option<bool>,
pub plan: Option<Plan>,
}
Fields§
§login: String
§id: i64
§node_id: String
§avatar_url: String
§gravatar_id: String
§url: String
§html_url: String
§followers_url: String
§following_url: String
§gists_url: String
§starred_url: String
§subscriptions_url: String
§organizations_url: String
§repos_url: String
§events_url: String
§received_events_url: String
§account_type: String
§site_admin: String
§name: String
§company: String
§blog: String
§location: String
§email: String
§hireable: bool
§bio: String
§twitter_username: String
§public_repos: i64
§public_gists: i64
§followers: i64
§following: i64
§created_at: String
§updated_at: String
§private_gists: Option<i64>
§total_private_repos: Option<i64>
§owned_private_repos: Option<i64>
§disk_usage: Option<i64>
§collaborators: Option<i64>
§two_factor_authentication: Option<bool>
§plan: Option<Plan>
Trait Implementations§
Source§impl Clone for GitHubUser
impl Clone for GitHubUser
Source§fn clone(&self) -> GitHubUser
fn clone(&self) -> GitHubUser
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GitHubUser
impl Debug for GitHubUser
Source§impl<'de> Deserialize<'de> for GitHubUser
impl<'de> Deserialize<'de> for GitHubUser
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 GitHubUser
impl RefUnwindSafe for GitHubUser
impl Send for GitHubUser
impl Sync for GitHubUser
impl Unpin for GitHubUser
impl UnwindSafe for GitHubUser
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