pub struct PostActionsCreateSelfHostedRunnerGroupForOrg {
pub name: Option<String>,
pub visibility: Option<String>,
pub selected_repository_ids: Option<Vec<i32>>,
pub runners: Option<Vec<i32>>,
pub allows_public_repositories: Option<bool>,
pub restricted_to_workflows: Option<bool>,
pub selected_workflows: Option<Vec<String>>,
pub network_configuration_id: Option<String>,
}Fields§
§name: Option<String>Name of the runner group.
visibility: Option<String>Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
selected_repository_ids: Option<Vec<i32>>List of repository IDs that can access the runner group.
runners: Option<Vec<i32>>List of runner IDs to add to the runner group.
allows_public_repositories: Option<bool>Whether the runner group can be used by public repositories.
restricted_to_workflows: Option<bool>If true, the runner group will be restricted to running only the workflows specified in the selected_workflows array.
selected_workflows: Option<Vec<String>>List of workflows the runner group should be allowed to run. This setting will be ignored unless restricted_to_workflows is set to true.
network_configuration_id: Option<String>The identifier of a hosted compute network configuration.
Trait Implementations§
Source§impl Clone for PostActionsCreateSelfHostedRunnerGroupForOrg
impl Clone for PostActionsCreateSelfHostedRunnerGroupForOrg
Source§fn clone(&self) -> PostActionsCreateSelfHostedRunnerGroupForOrg
fn clone(&self) -> PostActionsCreateSelfHostedRunnerGroupForOrg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PostActionsCreateSelfHostedRunnerGroupForOrg
impl Default for PostActionsCreateSelfHostedRunnerGroupForOrg
Source§fn default() -> PostActionsCreateSelfHostedRunnerGroupForOrg
fn default() -> PostActionsCreateSelfHostedRunnerGroupForOrg
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostActionsCreateSelfHostedRunnerGroupForOrg
impl<'de> Deserialize<'de> for PostActionsCreateSelfHostedRunnerGroupForOrg
Source§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
Source§impl PartialEq for PostActionsCreateSelfHostedRunnerGroupForOrg
impl PartialEq for PostActionsCreateSelfHostedRunnerGroupForOrg
Source§fn eq(&self, other: &PostActionsCreateSelfHostedRunnerGroupForOrg) -> bool
fn eq(&self, other: &PostActionsCreateSelfHostedRunnerGroupForOrg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostActionsCreateSelfHostedRunnerGroupForOrg
Auto Trait Implementations§
impl Freeze for PostActionsCreateSelfHostedRunnerGroupForOrg
impl RefUnwindSafe for PostActionsCreateSelfHostedRunnerGroupForOrg
impl Send for PostActionsCreateSelfHostedRunnerGroupForOrg
impl Sync for PostActionsCreateSelfHostedRunnerGroupForOrg
impl Unpin for PostActionsCreateSelfHostedRunnerGroupForOrg
impl UnwindSafe for PostActionsCreateSelfHostedRunnerGroupForOrg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more