pub struct AuthenticatedUser {Show 29 fields
pub login: String,
pub id: u64,
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 site_admin: bool,
pub name: Option<String>,
pub company: Option<String>,
pub blog: String,
pub location: Option<String>,
pub email: Option<String>,
pub hireable: Option<bool>,
pub bio: Option<String>,
pub public_repos: u64,
pub public_gists: u64,
pub followers: u64,
pub following: u64,
pub created_at: String,
pub updated_at: String,
}Expand description
Information about current authenticated user
Fields§
§login: String§id: u64§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§site_admin: bool§name: Option<String>§company: Option<String>§blog: String§location: Option<String>§email: Option<String>§hireable: Option<bool>§bio: Option<String>§public_repos: u64§public_gists: u64§followers: u64§following: u64§created_at: String§updated_at: StringTrait Implementations§
Source§impl Debug for AuthenticatedUser
impl Debug for AuthenticatedUser
Source§impl<'de> Deserialize<'de> for AuthenticatedUser
impl<'de> Deserialize<'de> for AuthenticatedUser
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 AuthenticatedUser
impl RefUnwindSafe for AuthenticatedUser
impl Send for AuthenticatedUser
impl Sync for AuthenticatedUser
impl Unpin for AuthenticatedUser
impl UnwindSafe for AuthenticatedUser
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