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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for ActionsOrganizationPermissions
impl Sync for ActionsOrganizationPermissions
impl Unpin for ActionsOrganizationPermissions
impl UnwindSafe for ActionsOrganizationPermissions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more