pub enum AccessLevel {
None,
User,
Organization,
}
Expand description
Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the repository. none
means the access is only possible from workflows in this repository. user
level access allows sharing across user owned private repositories only. organization
level access allows sharing across the organization.
Variants§
Trait Implementations§
Source§impl Clone for AccessLevel
impl Clone for AccessLevel
Source§fn clone(&self) -> AccessLevel
fn clone(&self) -> AccessLevel
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 Debug for AccessLevel
impl Debug for AccessLevel
Source§impl Default for AccessLevel
impl Default for AccessLevel
Source§fn default() -> AccessLevel
fn default() -> AccessLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessLevel
impl<'de> Deserialize<'de> for AccessLevel
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 Hash for AccessLevel
impl Hash for AccessLevel
Source§impl Ord for AccessLevel
impl Ord for AccessLevel
Source§fn cmp(&self, other: &AccessLevel) -> Ordering
fn cmp(&self, other: &AccessLevel) -> 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 AccessLevel
impl PartialEq for AccessLevel
Source§impl PartialOrd for AccessLevel
impl PartialOrd for AccessLevel
Source§impl Serialize for AccessLevel
impl Serialize for AccessLevel
impl Copy for AccessLevel
impl Eq for AccessLevel
impl StructuralPartialEq for AccessLevel
Auto Trait Implementations§
impl Freeze for AccessLevel
impl RefUnwindSafe for AccessLevel
impl Send for AccessLevel
impl Sync for AccessLevel
impl Unpin for AccessLevel
impl UnwindSafe for AccessLevel
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.