pub enum BasePermission {
Default,
ReadAll,
WriteAll,
}
Expand description
“Base” permissions, where all individual permissions are configured with a blanket setting.
Variants§
Default
Whatever default permissions come from the workflow’s GITHUB_TOKEN
.
ReadAll
“Read” access to all resources.
WriteAll
“Write” access to all resources (implies read).
Trait Implementations§
Source§impl Debug for BasePermission
impl Debug for BasePermission
Source§impl Default for BasePermission
impl Default for BasePermission
Source§fn default() -> BasePermission
fn default() -> BasePermission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasePermission
impl<'de> Deserialize<'de> for BasePermission
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 BasePermission
impl PartialEq for BasePermission
impl StructuralPartialEq for BasePermission
Auto Trait Implementations§
impl Freeze for BasePermission
impl RefUnwindSafe for BasePermission
impl Send for BasePermission
impl Sync for BasePermission
impl Unpin for BasePermission
impl UnwindSafe for BasePermission
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