Struct roctogen::models::PatchTeamsUpdateInOrg [−][src]
pub struct PatchTeamsUpdateInOrg { pub name: Option<String>, pub description: Option<String>, pub privacy: Option<String>, pub permission: Option<String>, pub parent_team_id: Option<i64>, }
Fields
name: Option<String>
Expand description
The name of the team.
description: Option<String>
Expand description
The description of the team.
privacy: Option<String>
Expand description
The level of privacy this team should have. Editing teams without specifying this parameter leaves privacy
intact. When a team is nested, the privacy
for parent teams cannot be secret
. The options are: For a non-nested team: \* secret
- only visible to organization owners and members of this team. \* closed
- visible to all members of this organization. For a parent or child team: \* closed
- visible to all members of this organization.
permission: Option<String>
Expand description
Deprecated. The permission that new repositories will be added to the team with when none is specified. Can be one of: \* pull
- team members can pull, but not push to or administer newly-added repositories. \* push
- team members can pull and push, but not administer newly-added repositories. \* admin
- team members can pull, push and administer newly-added repositories.
parent_team_id: Option<i64>
Expand description
The ID of a team to set as the parent team.
Trait Implementations
impl Clone for PatchTeamsUpdateInOrg
[src]
impl Clone for PatchTeamsUpdateInOrg
[src]fn clone(&self) -> PatchTeamsUpdateInOrg
[src]
fn clone(&self) -> PatchTeamsUpdateInOrg
[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 Debug for PatchTeamsUpdateInOrg
[src]
impl Debug for PatchTeamsUpdateInOrg
[src]impl Default for PatchTeamsUpdateInOrg
[src]
impl Default for PatchTeamsUpdateInOrg
[src]fn default() -> PatchTeamsUpdateInOrg
[src]
fn default() -> PatchTeamsUpdateInOrg
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PatchTeamsUpdateInOrg
[src]
impl<'de> Deserialize<'de> for PatchTeamsUpdateInOrg
[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<PatchTeamsUpdateInOrg> for PatchTeamsUpdateInOrg
[src]
impl PartialEq<PatchTeamsUpdateInOrg> for PatchTeamsUpdateInOrg
[src]fn eq(&self, other: &PatchTeamsUpdateInOrg) -> bool
[src]
fn eq(&self, other: &PatchTeamsUpdateInOrg) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PatchTeamsUpdateInOrg) -> bool
[src]
fn ne(&self, other: &PatchTeamsUpdateInOrg) -> bool
[src]This method tests for !=
.
impl Serialize for PatchTeamsUpdateInOrg
[src]
impl Serialize for PatchTeamsUpdateInOrg
[src]impl StructuralPartialEq for PatchTeamsUpdateInOrg
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatchTeamsUpdateInOrg
impl Send for PatchTeamsUpdateInOrg
impl Sync for PatchTeamsUpdateInOrg
impl Unpin for PatchTeamsUpdateInOrg
impl UnwindSafe for PatchTeamsUpdateInOrg
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>,