pub enum RepoAction {
Read,
Write,
Maintain,
Ci,
}Expand description
Repository action being authorised.
Variants§
Implementations§
Source§impl RepoAction
impl RepoAction
Sourcepub const fn capability(self) -> &'static str
pub const fn capability(self) -> &'static str
Minimum capability verb required for this action.
Trait Implementations§
Source§impl Clone for RepoAction
impl Clone for RepoAction
impl Copy for RepoAction
Source§impl Debug for RepoAction
impl Debug for RepoAction
impl Eq for RepoAction
Source§impl Hash for RepoAction
impl Hash for RepoAction
Source§impl PartialEq for RepoAction
impl PartialEq for RepoAction
impl StructuralPartialEq for RepoAction
Auto Trait Implementations§
impl Forget for RepoAction
impl Freeze for RepoAction
impl Move for RepoAction
impl RefUnwindSafe for RepoAction
impl Send for RepoAction
impl Sync for RepoAction
impl Unpin for RepoAction
impl UnsafeUnpin for RepoAction
impl UnwindSafe for RepoAction
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