Struct github_rest::model::organizations::SimpleOrganization
source · pub struct SimpleOrganization {
pub login: String,
pub url: String,
pub id: i64,
pub node_id: String,
pub repos_url: String,
pub events_url: String,
pub hooks_url: String,
pub issues_url: String,
pub members_url: String,
pub public_members_url: String,
pub avatar_url: String,
pub description: Option<String>,
}
Expand description
Fields§
§login: String
§url: String
§id: i64
§node_id: String
§repos_url: String
§events_url: String
§hooks_url: String
§issues_url: String
§members_url: String
§public_members_url: String
§avatar_url: String
§description: Option<String>
Trait Implementations§
source§impl AsRef<SimpleOrganization> for Organization
impl AsRef<SimpleOrganization> for Organization
source§fn as_ref(&self) -> &SimpleOrganization
fn as_ref(&self) -> &SimpleOrganization
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SimpleOrganization
impl Clone for SimpleOrganization
source§fn clone(&self) -> SimpleOrganization
fn clone(&self) -> SimpleOrganization
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 SimpleOrganization
impl Debug for SimpleOrganization
source§impl Default for SimpleOrganization
impl Default for SimpleOrganization
source§fn default() -> SimpleOrganization
fn default() -> SimpleOrganization
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SimpleOrganization
impl<'de> Deserialize<'de> for SimpleOrganization
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<SimpleOrganization> for SimpleOrganization
impl PartialEq<SimpleOrganization> for SimpleOrganization
source§fn eq(&self, other: &SimpleOrganization) -> bool
fn eq(&self, other: &SimpleOrganization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleOrganization
impl Serialize for SimpleOrganization
impl StructuralPartialEq for SimpleOrganization
Auto Trait Implementations§
impl RefUnwindSafe for SimpleOrganization
impl Send for SimpleOrganization
impl Sync for SimpleOrganization
impl Unpin for SimpleOrganization
impl UnwindSafe for SimpleOrganization
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