Struct octorust::types::ReposAddCollaboratorRequest [−][src]
pub struct ReposAddCollaboratorRequest { pub permission: Option<ReposAddCollaboratorRequestPermission>, pub permissions: String, }
Fields
permission: Option<ReposAddCollaboratorRequestPermission>
The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of:
\* pull
- can pull, but not push to or administer this repository.
\* push
- can pull and push, but not administer this repository.
\* admin
- can pull, push and administer this repository.
\* maintain
- Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
\* triage
- Recommended for contributors who need to proactively manage issues and pull requests without write access.
permissions: String
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ReposAddCollaboratorRequest
impl Send for ReposAddCollaboratorRequest
impl Sync for ReposAddCollaboratorRequest
impl Unpin for ReposAddCollaboratorRequest
impl UnwindSafe for ReposAddCollaboratorRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more