pub enum Act {
Read,
Write,
Delete,
Run,
}Expand description
What a script grant authorizes: the {act} in urn:cap:script:{act}:{name}.
Variants§
Read
Read the source and head record without running it.
Write
Publish, replace or draft it.
Delete
Retire it.
Run
Run it, as a read or for effects.
Implementations§
Trait Implementations§
impl Copy for Act
impl Eq for Act
impl StructuralPartialEq for Act
Auto Trait Implementations§
impl Freeze for Act
impl RefUnwindSafe for Act
impl Send for Act
impl Sync for Act
impl Unpin for Act
impl UnsafeUnpin for Act
impl UnwindSafe for Act
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