Struct github_rs::github::User [] [src]

pub struct User {
    pub id: u64,
    pub avatar_url: 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 site_admin: bool,
    pub login: Option<String>,
    pub name: Option<String>,
    pub company: Option<String>,
    pub blog: Option<String>,
    pub location: Option<String>,
    pub email: Option<String>,
    pub hireable: Option<String>,
    pub bio: Option<String>,
    pub public_repos: Option<u64>,
    pub public_gists: Option<u64>,
    pub followers: Option<u64>,
    pub following: Option<u64>,
    pub created_at: Option<String>,
    pub updated_at: Option<String>,
    pub private_gists: Option<u64>,
    pub total_private_repos: Option<u64>,
    pub owned_private_repos: Option<u64>,
    pub disk_usage: Option<u64>,
    pub collaborators: Option<u64>,
    pub plan: Option<Plan>,
}

Information related to a user on Github is stored in this struct.

Fields

id: u64 avatar_url: 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 site_admin: bool login: Option<String> name: Option<String> company: Option<String> blog: Option<String> location: Option<String> email: Option<String> hireable: Option<String> bio: Option<String> public_repos: Option<u64> public_gists: Option<u64> followers: Option<u64> following: Option<u64> created_at: Option<String> updated_at: Option<String> private_gists: Option<u64> total_private_repos: Option<u64> owned_private_repos: Option<u64> disk_usage: Option<u64> collaborators: Option<u64> plan: Option<Plan>

Trait Implementations

impl PartialEq for User
[src]

fn eq(&self, __arg_0: &User) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &User) -> bool

This method tests for !=.

impl Debug for User
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.