Struct github_rest::model::organizations::Organization
source · pub struct Organization {
pub html_url: String,
pub has_organization_projects: bool,
pub has_repository_projects: bool,
pub public_repos: usize,
pub public_gists: usize,
pub followers: usize,
pub following: usize,
pub type_field: String,
pub created_at: String,
pub updated_at: String,
pub shared: SimpleOrganization,
}
Expand description
Fields§
§html_url: String
§has_organization_projects: bool
§has_repository_projects: bool
§public_repos: usize
§public_gists: usize
§followers: usize
§following: usize
§type_field: String
§created_at: String
§updated_at: 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 Organization
impl Clone for Organization
source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
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 Organization
impl Debug for Organization
source§impl Default for Organization
impl Default for Organization
source§fn default() -> Organization
fn default() -> Organization
Returns the “default value” for a type. Read more
source§impl Deref for Organization
impl Deref for Organization
source§impl<'de> Deserialize<'de> for Organization
impl<'de> Deserialize<'de> for Organization
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<Organization> for Organization
impl PartialEq<Organization> for Organization
source§fn eq(&self, other: &Organization) -> bool
fn eq(&self, other: &Organization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Organization
impl Serialize for Organization
impl StructuralPartialEq for Organization
Auto Trait Implementations§
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnwindSafe for Organization
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