Struct octorust::types::OrgsUpdateRequest[][src]

pub struct OrgsUpdateRequest {
Show fields pub billing_email: String, pub blog: String, pub company: String, pub default_repository_permission: Option<DefaultRepositoryPermission>, pub description: String, pub email: String, pub has_organization_projects: bool, pub has_repository_projects: bool, pub location: String, pub members_allowed_repository_creation_type: Option<MembersAllowedRepositoryCreationType>, pub members_can_create_internal_repositories: bool, pub members_can_create_pages: bool, pub members_can_create_private_pages: bool, pub members_can_create_private_repositories: bool, pub members_can_create_public_pages: bool, pub members_can_create_public_repositories: bool, pub members_can_create_repositories: bool, pub name: String, pub twitter_username: String,
}

Fields

billing_email: String

Billing email address. This address is not publicized.

blog: Stringcompany: String

The company name.

default_repository_permission: Option<DefaultRepositoryPermission>

Default permission level members have for organization repositories:
\* read - can pull, but not push to or administer this repository.
\* write - can pull and push, but not administer this repository.
\* admin - can pull, push, and administer this repository.
\* none - no permissions granted by default.

description: String

The description of the company.

email: String

The publicly visible email address.

has_organization_projects: bool

Toggles whether an organization can use organization projects.

has_repository_projects: bool

Toggles whether repositories that belong to the organization can use repository projects.

location: String

The location.

members_allowed_repository_creation_type: Option<MembersAllowedRepositoryCreationType>

Specifies which types of repositories non-admin organization members can create. Can be one of:
\* all - all organization members can create public and private repositories.
\* private - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
\* none - only admin members can create repositories.
**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories. See the parameter deprecation notice in the operation description for details.

members_can_create_internal_repositories: bool

Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
\* true - all organization members can create internal repositories.
\* false - only organization owners can create internal repositories.
Default: true. For more information, see “Restricting repository creation in your organization” in the GitHub Help documentation.

members_can_create_pages: bool

Toggles whether organization members can create GitHub Pages sites. Can be one of:
\* true - all organization members can create GitHub Pages sites.
\* false - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.

members_can_create_private_pages: bool

Toggles whether organization members can create private GitHub Pages sites. Can be one of:
\* true - all organization members can create private GitHub Pages sites.
\* false - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted.

members_can_create_private_repositories: bool

Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
\* true - all organization members can create private repositories.
\* false - only organization owners can create private repositories.
Default: true. For more information, see “Restricting repository creation in your organization” in the GitHub Help documentation.

members_can_create_public_pages: bool

Toggles whether organization members can create public GitHub Pages sites. Can be one of:
\* true - all organization members can create public GitHub Pages sites.
\* false - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted.

members_can_create_public_repositories: bool

Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
\* true - all organization members can create public repositories.
\* false - only organization owners can create public repositories.
Default: true. For more information, see “Restricting repository creation in your organization” in the GitHub Help documentation.

members_can_create_repositories: bool

Toggles the ability of non-admin organization members to create repositories. Can be one of:
\* true - all organization members can create repositories.
\* false - only organization owners can create repositories.
Default: true
**Note:** A parameter can override this parameter. See members_allowed_repository_creation_type in this table for details. **Note:** A parameter can override this parameter. See members_allowed_repository_creation_type in this table for details.

name: String

The shorthand name of the company.

twitter_username: String

The Twitter username of the company.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.