pub enum CrudAction {
List,
Read,
Create,
Update,
Delete,
}Expand description
One CRUD action, named the way [permissions] and [rate_limit] name it.
Variants§
Implementations§
Source§impl CrudAction
impl CrudAction
Trait Implementations§
Source§impl Clone for CrudAction
impl Clone for CrudAction
Source§fn clone(&self) -> CrudAction
fn clone(&self) -> CrudAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CrudAction
Source§impl Debug for CrudAction
impl Debug for CrudAction
impl Eq for CrudAction
Source§impl Hash for CrudAction
impl Hash for CrudAction
Source§impl Ord for CrudAction
impl Ord for CrudAction
Source§fn cmp(&self, other: &CrudAction) -> Ordering
fn cmp(&self, other: &CrudAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CrudAction
impl PartialEq for CrudAction
Source§impl PartialOrd for CrudAction
impl PartialOrd for CrudAction
impl StructuralPartialEq for CrudAction
Auto Trait Implementations§
impl Freeze for CrudAction
impl RefUnwindSafe for CrudAction
impl Send for CrudAction
impl Sync for CrudAction
impl Unpin for CrudAction
impl UnsafeUnpin for CrudAction
impl UnwindSafe for CrudAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.