pub struct GitHubUser {
pub id: u64,
pub login: String,
pub name: Option<String>,
pub email: Option<String>,
pub avatar_url: Option<String>,
pub bio: Option<String>,
pub company: Option<String>,
pub location: Option<String>,
}Expand description
GitHub user information
Fields§
§id: u64§login: String§name: Option<String>§email: Option<String>§avatar_url: Option<String>§bio: Option<String>§company: Option<String>§location: Option<String>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§fn clone_from(&mut self, source: &Self)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging