pub enum Action {
Read,
Write,
Unknown(char),
}Expand description
Actions allowed on a given scope.
Display/serialization encodes these as single characters (r, w).
Variants§
Read
Can read the scope at the specified path (GET requests).
Write
Can write to the scope at the specified path (PUT/POST/DELETE requests).
Unknown(char)
Unknown ability
Trait Implementations§
Source§impl Ord for Action
impl Ord for Action
Source§impl PartialOrd for Action
impl PartialOrd for Action
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 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