pub enum GhPermission {
Show 14 variants
Actions,
Attestations,
Checks,
Contents,
Deployments,
Discussions,
IdToken,
Issues,
Packages,
Pages,
PullRequests,
RepositoryProjects,
SecurityEvents,
Statuses,
}
Expand description
Refers to the scope of a permission granted to the GITHUB_TOKEN for a job.
For more details on each scope, refer to: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Variants§
Actions
Attestations
Checks
Contents
Deployments
Discussions
IdToken
Issues
Packages
Pages
PullRequests
RepositoryProjects
SecurityEvents
Statuses
Trait Implementations§
Source§impl Clone for GhPermission
impl Clone for GhPermission
Source§fn clone(&self) -> GhPermission
fn clone(&self) -> GhPermission
Returns a copy 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 Debug for GhPermission
impl Debug for GhPermission
Source§impl Ord for GhPermission
impl Ord for GhPermission
Source§fn cmp(&self, other: &GhPermission) -> Ordering
fn cmp(&self, other: &GhPermission) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GhPermission
impl PartialEq for GhPermission
Source§impl PartialOrd for GhPermission
impl PartialOrd for GhPermission
impl Eq for GhPermission
impl StructuralPartialEq for GhPermission
Auto Trait Implementations§
impl Freeze for GhPermission
impl RefUnwindSafe for GhPermission
impl Send for GhPermission
impl Sync for GhPermission
impl Unpin for GhPermission
impl UnwindSafe for GhPermission
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Checks if this value is equivalent to the given key. Read more
§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.