pub enum Action {
Write,
Read,
AnonymousRead,
Admin,
}Expand description
What the product is about to do on behalf of (or to) a tenant.
Variants§
Write
git push, LFS upload — anything that grows the tenant’s data.
Read
The owner’s clone/fetch. Allowed in every state.
AnonymousRead
Anonymous browse/clone of a public repository.
Admin
The tenant’s own settings UI.
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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