Struct octorust::types::Contributor
source · pub struct Contributor {Show 21 fields
pub avatar_url: String,
pub contributions: i64,
pub email: String,
pub events_url: String,
pub followers_url: String,
pub following_url: String,
pub gists_url: String,
pub gravatar_id: String,
pub html_url: String,
pub id: i64,
pub login: String,
pub name: String,
pub node_id: String,
pub organizations_url: String,
pub received_events_url: String,
pub repos_url: String,
pub site_admin: bool,
pub starred_url: String,
pub subscriptions_url: String,
pub type_: String,
pub url: String,
}
Expand description
Contributor
Fields§
§avatar_url: String
§contributions: i64
§email: String
§events_url: String
§followers_url: String
§following_url: String
§gists_url: String
§gravatar_id: String
§html_url: String
§id: i64
Contributor
login: String
§name: String
§node_id: String
§organizations_url: String
§received_events_url: String
§repos_url: String
§site_admin: bool
Contributor
starred_url: String
§subscriptions_url: String
§type_: String
§url: String
Trait Implementations§
source§impl Clone for Contributor
impl Clone for Contributor
source§fn clone(&self) -> Contributor
fn clone(&self) -> Contributor
Returns a copy 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<'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 JsonSchema for Contributor
impl JsonSchema for Contributor
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<Contributor> for Contributor
impl PartialEq<Contributor> for Contributor
source§fn eq(&self, other: &Contributor) -> bool
fn eq(&self, other: &Contributor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Contributor
impl Serialize for Contributor
impl StructuralPartialEq for Contributor
Auto Trait Implementations§
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