Struct octorust::types::TeamsAddUpdateRepoPermissionsInOrgRequest [−][src]
pub struct TeamsAddUpdateRepoPermissionsInOrgRequest {
pub permission: Option<TeamsAddUpdateRepoPermissionsInOrgRequestPermission>,
}
Fields
permission: Option<TeamsAddUpdateRepoPermissionsInOrgRequestPermission>
The permission to grant the team on this repository. Can be one of:
\* pull
- team members can pull, but not push to or administer this repository.
\* push
- team members can pull and push, but not administer this repository.
\* admin
- team members can pull, push and administer this repository.
\* maintain
- team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations.
\* triage
- team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations.
If no permission is specified, the team’s permission
attribute will be used to determine what permission to grant the team on this repository.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more