Struct octorust::types::Collaborator
source · pub struct Collaborator {Show 21 fields
pub avatar_url: String,
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 permissions: Option<FullRepositoryPermissions>,
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
Collaborator
Fields§
§avatar_url: String
§email: String
§events_url: String
§followers_url: String
§following_url: String
§gists_url: String
§gravatar_id: String
§html_url: String
§id: i64
§login: String
§name: String
§node_id: String
§organizations_url: String
§permissions: Option<FullRepositoryPermissions>
Collaborator
received_events_url: String
§repos_url: String
§site_admin: bool
§starred_url: String
§subscriptions_url: String
§type_: String
§url: String
Trait Implementations§
source§impl Clone for Collaborator
impl Clone for Collaborator
source§fn clone(&self) -> Collaborator
fn clone(&self) -> Collaborator
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 Collaborator
impl Debug for Collaborator
source§impl<'de> Deserialize<'de> for Collaborator
impl<'de> Deserialize<'de> for Collaborator
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 Collaborator
impl JsonSchema for Collaborator
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<Collaborator> for Collaborator
impl PartialEq<Collaborator> for Collaborator
source§fn eq(&self, other: &Collaborator) -> bool
fn eq(&self, other: &Collaborator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.