Struct octorust::types::ActionsRepositoryPermissions [−][src]
pub struct ActionsRepositoryPermissions { pub allowed_actions: AllowedActions, pub enabled: bool, pub selected_actions_url: String, }
Fields
allowed_actions: AllowedActions
The permissions policy that controls the actions that are allowed to run. Can be one of: all
, local_only
, or selected
.
enabled: bool
Whether GitHub Actions is enabled on the repository.
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
.
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 ActionsRepositoryPermissions
impl Sync for ActionsRepositoryPermissions
impl Unpin for ActionsRepositoryPermissions
impl UnwindSafe for ActionsRepositoryPermissions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more