Struct octorust::types::RepositoryInvitation
source · pub struct RepositoryInvitation {
pub created_at: Option<DateTime<Utc>>,
pub expired: bool,
pub html_url: String,
pub id: i64,
pub invitee: Option<SimpleUser>,
pub inviter: Option<SimpleUser>,
pub node_id: String,
pub permissions: RepositoryInvitationPermissions,
pub repository: MinimalRepository,
pub url: String,
}
Expand description
Repository invitations let you manage who you collaborate with.
Fields§
§created_at: Option<DateTime<Utc>>
§expired: bool
Repository invitations let you manage who you collaborate with.
html_url: String
§id: i64
§invitee: Option<SimpleUser>
§inviter: Option<SimpleUser>
§node_id: String
§permissions: RepositoryInvitationPermissions
The permission associated with the invitation.
repository: MinimalRepository
Minimal Repository
url: String
Trait Implementations§
source§impl Clone for RepositoryInvitation
impl Clone for RepositoryInvitation
source§fn clone(&self) -> RepositoryInvitation
fn clone(&self) -> RepositoryInvitation
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 RepositoryInvitation
impl Debug for RepositoryInvitation
source§impl<'de> Deserialize<'de> for RepositoryInvitation
impl<'de> Deserialize<'de> for RepositoryInvitation
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 RepositoryInvitation
impl JsonSchema for RepositoryInvitation
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<RepositoryInvitation> for RepositoryInvitation
impl PartialEq<RepositoryInvitation> for RepositoryInvitation
source§fn eq(&self, other: &RepositoryInvitation) -> bool
fn eq(&self, other: &RepositoryInvitation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RepositoryInvitation
impl Serialize for RepositoryInvitation
impl StructuralPartialEq for RepositoryInvitation
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryInvitation
impl Send for RepositoryInvitation
impl Sync for RepositoryInvitation
impl Unpin for RepositoryInvitation
impl UnwindSafe for RepositoryInvitation
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