pub struct Contributor {Show 21 fields
pub login: Option<String>,
pub id: Option<i32>,
pub node_id: Option<String>,
pub avatar_url: Option<String>,
pub gravatar_id: Option<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 type: String,
pub site_admin: Option<bool>,
pub contributions: i32,
pub email: Option<String>,
pub name: Option<String>,
}
Expand description
Contributor : Contributor
Fields§
§login: Option<String>
§id: Option<i32>
§node_id: Option<String>
§avatar_url: Option<String>
§gravatar_id: Option<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>
§type: String
§site_admin: Option<bool>
§contributions: i32
§email: Option<String>
§name: Option<String>
Implementations§
Source§impl Contributor
impl Contributor
Sourcepub fn new(type: String, contributions: i32) -> Contributor
pub fn new(type: String, contributions: i32) -> Contributor
Contributor
Trait Implementations§
Source§impl Clone for Contributor
impl Clone for Contributor
Source§fn clone(&self) -> Contributor
fn clone(&self) -> Contributor
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 Contributor
impl Debug for Contributor
Source§impl Default for Contributor
impl Default for Contributor
Source§fn default() -> Contributor
fn default() -> Contributor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Contributor
impl<'de> Deserialize<'de> for Contributor
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
Source§impl PartialEq for Contributor
impl PartialEq for Contributor
Source§impl Serialize for Contributor
impl Serialize for Contributor
impl StructuralPartialEq for Contributor
Auto Trait Implementations§
impl Freeze for Contributor
impl RefUnwindSafe for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Unpin for Contributor
impl UnwindSafe for Contributor
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