Struct octorust::types::SimpleUser
source · pub struct SimpleUser {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 received_events_url: String,
pub repos_url: String,
pub site_admin: bool,
pub starred_at: String,
pub starred_url: String,
pub subscriptions_url: String,
pub type_: String,
pub url: String,
}
Expand description
Simple User
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
§received_events_url: String
§repos_url: String
§site_admin: bool
§starred_at: String
§starred_url: String
§subscriptions_url: String
§type_: String
§url: String
Trait Implementations§
source§impl Clone for SimpleUser
impl Clone for SimpleUser
source§fn clone(&self) -> SimpleUser
fn clone(&self) -> SimpleUser
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 SimpleUser
impl Debug for SimpleUser
source§impl<'de> Deserialize<'de> for SimpleUser
impl<'de> Deserialize<'de> for SimpleUser
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 SimpleUser
impl JsonSchema for SimpleUser
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<SimpleUser> for SimpleUser
impl PartialEq<SimpleUser> for SimpleUser
source§fn eq(&self, other: &SimpleUser) -> bool
fn eq(&self, other: &SimpleUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleUser
impl Serialize for SimpleUser
impl StructuralPartialEq for SimpleUser
Auto Trait Implementations§
impl RefUnwindSafe for SimpleUser
impl Send for SimpleUser
impl Sync for SimpleUser
impl Unpin for SimpleUser
impl UnwindSafe for SimpleUser
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