pub struct GitHubProfile {Show 27 fields
pub login: String,
pub id: String,
pub node_id: Option<String>,
pub avatar_url: Option<String>,
pub gravatar_id: Option<String>,
pub url: Option<String>,
pub html_url: Option<String>,
pub followers_url: Option<String>,
pub following_url: Option<String>,
pub gists_url: Option<String>,
pub starred_url: Option<String>,
pub subscriptions_url: Option<String>,
pub organizations_url: Option<String>,
pub repos_url: Option<String>,
pub events_url: Option<String>,
pub received_events_url: Option<String>,
pub profile_type: Option<String>,
pub site_admin: Option<bool>,
pub name: Option<String>,
pub company: Option<String>,
pub blog: Option<String>,
pub location: Option<String>,
pub email: Option<String>,
pub hireable: Option<bool>,
pub bio: Option<String>,
pub twitter_username: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
GitHub profile returned by GET /user.
Fields§
§login: String§id: String§node_id: Option<String>§avatar_url: Option<String>§gravatar_id: Option<String>§url: Option<String>§html_url: Option<String>§followers_url: Option<String>§following_url: Option<String>§gists_url: Option<String>§starred_url: Option<String>§subscriptions_url: Option<String>§organizations_url: Option<String>§repos_url: Option<String>§events_url: Option<String>§received_events_url: Option<String>§profile_type: Option<String>§site_admin: Option<bool>§name: Option<String>§company: Option<String>§blog: Option<String>§location: Option<String>§email: Option<String>§hireable: Option<bool>§bio: Option<String>§twitter_username: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for GitHubProfile
impl Clone for GitHubProfile
Source§fn clone(&self) -> GitHubProfile
fn clone(&self) -> GitHubProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitHubProfile
impl Debug for GitHubProfile
Source§impl Default for GitHubProfile
impl Default for GitHubProfile
Source§fn default() -> GitHubProfile
fn default() -> GitHubProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitHubProfile
impl<'de> Deserialize<'de> for GitHubProfile
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GitHubProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GitHubProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GitHubProfile
impl PartialEq for GitHubProfile
Source§impl Serialize for GitHubProfile
impl Serialize for GitHubProfile
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GitHubProfile
Auto Trait Implementations§
impl Freeze for GitHubProfile
impl RefUnwindSafe for GitHubProfile
impl Send for GitHubProfile
impl Sync for GitHubProfile
impl Unpin for GitHubProfile
impl UnsafeUnpin for GitHubProfile
impl UnwindSafe for GitHubProfile
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