pub struct NullableCollaborator {Show 22 fields
pub login: String,
pub id: i32,
pub email: Option<Option<String>>,
pub name: Option<Option<String>>,
pub node_id: String,
pub avatar_url: String,
pub gravatar_id: Option<String>,
pub url: String,
pub html_url: String,
pub followers_url: String,
pub following_url: String,
pub gists_url: String,
pub starred_url: String,
pub subscriptions_url: String,
pub organizations_url: String,
pub repos_url: String,
pub events_url: String,
pub received_events_url: String,
pub type: String,
pub site_admin: bool,
pub permissions: Option<Box<CollaboratorPermissions>>,
pub role_name: String,
}
Expand description
NullableCollaborator : Collaborator
Fields§
§login: String
§id: i32
§email: Option<Option<String>>
§name: Option<Option<String>>
§node_id: String
§avatar_url: String
§gravatar_id: Option<String>
§url: String
§html_url: String
§followers_url: String
§following_url: String
§gists_url: String
§starred_url: String
§subscriptions_url: String
§organizations_url: String
§repos_url: String
§events_url: String
§received_events_url: String
§type: String
§site_admin: bool
§permissions: Option<Box<CollaboratorPermissions>>
§role_name: String
Implementations§
Source§impl NullableCollaborator
impl NullableCollaborator
Sourcepub fn new(
login: String,
id: i32,
node_id: String,
avatar_url: String,
gravatar_id: Option<String>,
url: String,
html_url: String,
followers_url: String,
following_url: String,
gists_url: String,
starred_url: String,
subscriptions_url: String,
organizations_url: String,
repos_url: String,
events_url: String,
received_events_url: String,
type: String,
site_admin: bool,
role_name: String,
) -> NullableCollaborator
pub fn new( login: String, id: i32, node_id: String, avatar_url: String, gravatar_id: Option<String>, url: String, html_url: String, followers_url: String, following_url: String, gists_url: String, starred_url: String, subscriptions_url: String, organizations_url: String, repos_url: String, events_url: String, received_events_url: String, type: String, site_admin: bool, role_name: String, ) -> NullableCollaborator
Collaborator
Trait Implementations§
Source§impl Clone for NullableCollaborator
impl Clone for NullableCollaborator
Source§fn clone(&self) -> NullableCollaborator
fn clone(&self) -> NullableCollaborator
Returns a duplicate 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 NullableCollaborator
impl Debug for NullableCollaborator
Source§impl Default for NullableCollaborator
impl Default for NullableCollaborator
Source§fn default() -> NullableCollaborator
fn default() -> NullableCollaborator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableCollaborator
impl<'de> Deserialize<'de> for NullableCollaborator
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 for NullableCollaborator
impl PartialEq for NullableCollaborator
Source§impl Serialize for NullableCollaborator
impl Serialize for NullableCollaborator
impl StructuralPartialEq for NullableCollaborator
Auto Trait Implementations§
impl Freeze for NullableCollaborator
impl RefUnwindSafe for NullableCollaborator
impl Send for NullableCollaborator
impl Sync for NullableCollaborator
impl Unpin for NullableCollaborator
impl UnwindSafe for NullableCollaborator
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