Struct github_webhook::payload_types::User
source · pub struct User<'a> {Show 20 fields
pub login: &'a str,
pub id: usize,
pub node_id: &'a str,
pub name: Option<&'a str>,
pub email: Option<&'a str>,
pub avatar_url: &'a str,
pub gravatar_id: &'a str,
pub url: &'a str,
pub html_url: &'a str,
pub followers_url: &'a str,
pub following_url: &'a str,
pub gists_url: &'a str,
pub starred_url: &'a str,
pub subscriptions_url: &'a str,
pub organizations_url: &'a str,
pub repos_url: &'a str,
pub events_url: &'a str,
pub received_events_url: &'a str,
pub type_: UserType,
pub site_admin: bool,
}
Fields§
§login: &'a str
§id: usize
§node_id: &'a str
§name: Option<&'a str>
§email: Option<&'a str>
§avatar_url: &'a str
§gravatar_id: &'a str
§url: &'a str
§html_url: &'a str
§followers_url: &'a str
§following_url: &'a str
§gists_url: &'a str
§starred_url: &'a str
§subscriptions_url: &'a str
§organizations_url: &'a str
§repos_url: &'a str
§events_url: &'a str
§received_events_url: &'a str
§type_: UserType
§site_admin: bool
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for User<'a>
impl<'de: 'a, 'a> Deserialize<'de> for User<'a>
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<'a> RefUnwindSafe for User<'a>
impl<'a> Send for User<'a>
impl<'a> Sync for User<'a>
impl<'a> Unpin for User<'a>
impl<'a> UnwindSafe for User<'a>
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