Struct octorust::types::ActionsOrganizationPermissions[][src]

pub struct ActionsOrganizationPermissions {
    pub allowed_actions: Option<AllowedActions>,
    pub enabled_repositories: EnabledRepositories,
    pub selected_actions_url: String,
    pub selected_repositories_url: String,
}

Fields

allowed_actions: Option<AllowedActions>

The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.

enabled_repositories: EnabledRepositories

The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.

selected_actions_url: String

The API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.

selected_repositories_url: String

The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when enabled_repositories is set to selected.

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.