pub struct TeamsUpdateInOrgRequest {
pub name: Option<String>,
pub description: Option<String>,
pub privacy: Option<Privacy>,
pub notification_setting: Option<NotificationSetting>,
pub permission: Option<Permission>,
pub parent_team_id: Option<Option<i32>>,
}
Fields§
§name: Option<String>
The name of the team.
description: Option<String>
The description of the team.
privacy: Option<Privacy>
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.
notification_setting: Option<NotificationSetting>
The notification setting the team has chosen. Editing teams without specifying this parameter leaves notification_setting
intact. The options are: * notifications_enabled
- team members receive notifications when the team is @mentioned. * notifications_disabled
- no one receives notifications.
permission: Option<Permission>
Deprecated. The permission that new repositories will be added to the team with when none is specified.
parent_team_id: Option<Option<i32>>
The ID of a team to set as the parent team.
Implementations§
Source§impl TeamsUpdateInOrgRequest
impl TeamsUpdateInOrgRequest
pub fn new() -> TeamsUpdateInOrgRequest
Trait Implementations§
Source§impl Clone for TeamsUpdateInOrgRequest
impl Clone for TeamsUpdateInOrgRequest
Source§fn clone(&self) -> TeamsUpdateInOrgRequest
fn clone(&self) -> TeamsUpdateInOrgRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more