pub struct PostTeamsCreate {
pub name: Option<String>,
pub description: Option<String>,
pub maintainers: Option<Vec<String>>,
pub repo_names: Option<Vec<String>>,
pub privacy: Option<String>,
pub notification_setting: Option<String>,
pub permission: Option<String>,
pub parent_team_id: Option<i64>,
}Fields§
§name: Option<String>The name of the team.
description: Option<String>The description of the team.
maintainers: Option<Vec<String>>List GitHub usernames for organization members who will become team maintainers.
repo_names: Option<Vec<String>>The full name (e.g., "organization-name/repository-name") of repositories to add the team to.
privacy: Option<String>The level of privacy this team should have. 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. Default: secret For a parent or child team: * closed - visible to all members of this organization. Default for child team: closed
notification_setting: Option<String>The notification setting the team has chosen. The options are: * notifications_enabled - team members receive notifications when the team is @mentioned. * notifications_disabled - no one receives notifications. Default: notifications_enabled
permission: Option<String>Closing down notice. The permission that new repositories will be added to the team with when none is specified.
parent_team_id: Option<i64>The ID of a team to set as the parent team.
Trait Implementations§
Source§impl Clone for PostTeamsCreate
impl Clone for PostTeamsCreate
Source§fn clone(&self) -> PostTeamsCreate
fn clone(&self) -> PostTeamsCreate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more