pub enum Group {
Permissions(Permissions),
AllowList(AllowList),
Workflow(Workflow),
Access(Access),
ArtifactAndLogRetention(ArtifactAndLogRetention),
ForkPrContributorApproval(ForkPrContributorApproval),
ForkPrWorkflowsPrivateRepos(ForkPrWorkflowsPrivateRepos),
Cache(Cache),
OidcSubject(OidcSubject),
}Expand description
One whole Actions settings group.
As a write it replaces the group. As live state it is what GitHub reports.
Variants§
Permissions(Permissions)
Whether Actions runs and which actions may run.
AllowList(AllowList)
The allow list of selected actions.
Workflow(Workflow)
The default workflow token permissions.
Access(Access)
Who may use the actions of a private repository.
ArtifactAndLogRetention(ArtifactAndLogRetention)
The artifact and log retention.
ForkPrContributorApproval(ForkPrContributorApproval)
The fork pull request approval policy.
ForkPrWorkflowsPrivateRepos(ForkPrWorkflowsPrivateRepos)
How workflows run for fork pull requests.
Cache(Cache)
The cache limits.
OidcSubject(OidcSubject)
The OIDC subject claim settings.
Trait Implementations§
impl Eq for Group
Source§impl From<ArtifactAndLogRetention> for Group
impl From<ArtifactAndLogRetention> for Group
Source§fn from(group: ArtifactAndLogRetention) -> Self
fn from(group: ArtifactAndLogRetention) -> Self
Converts to this type from the input type.
Source§impl From<ForkPrContributorApproval> for Group
impl From<ForkPrContributorApproval> for Group
Source§fn from(group: ForkPrContributorApproval) -> Self
fn from(group: ForkPrContributorApproval) -> Self
Converts to this type from the input type.
Source§impl From<ForkPrWorkflowsPrivateRepos> for Group
impl From<ForkPrWorkflowsPrivateRepos> for Group
Source§fn from(group: ForkPrWorkflowsPrivateRepos) -> Self
fn from(group: ForkPrWorkflowsPrivateRepos) -> Self
Converts to this type from the input type.
Source§impl From<OidcSubject> for Group
impl From<OidcSubject> for Group
Source§fn from(group: OidcSubject) -> Self
fn from(group: OidcSubject) -> Self
Converts to this type from the input type.
Source§impl From<Permissions> for Group
impl From<Permissions> for Group
Source§fn from(group: Permissions) -> Self
fn from(group: Permissions) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.