Struct roctogen::models::PutTeamsAddOrUpdateRepoPermissionsInOrg [−][src]
Fields
permission: Option<String>
Expand description
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
impl Clone for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
impl Clone for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]fn clone(&self) -> PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
fn clone(&self) -> PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Default for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
impl Default for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]fn default() -> PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
fn default() -> PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
impl<'de> Deserialize<'de> for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PutTeamsAddOrUpdateRepoPermissionsInOrg> for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
impl PartialEq<PutTeamsAddOrUpdateRepoPermissionsInOrg> for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]fn eq(&self, other: &PutTeamsAddOrUpdateRepoPermissionsInOrg) -> bool
[src]
fn eq(&self, other: &PutTeamsAddOrUpdateRepoPermissionsInOrg) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PutTeamsAddOrUpdateRepoPermissionsInOrg) -> bool
[src]
fn ne(&self, other: &PutTeamsAddOrUpdateRepoPermissionsInOrg) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for PutTeamsAddOrUpdateRepoPermissionsInOrg
[src]
Auto Trait Implementations
impl RefUnwindSafe for PutTeamsAddOrUpdateRepoPermissionsInOrg
impl Send for PutTeamsAddOrUpdateRepoPermissionsInOrg
impl Sync for PutTeamsAddOrUpdateRepoPermissionsInOrg
impl Unpin for PutTeamsAddOrUpdateRepoPermissionsInOrg
impl UnwindSafe for PutTeamsAddOrUpdateRepoPermissionsInOrg
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,