pub enum ApiResourceAction {
Read,
List,
Create,
Update,
Delete,
Archive,
Restore,
}Expand description
API resource action labels.
Variants§
Read
A stable label variant.
List
A stable label variant.
Create
A stable label variant.
Update
A stable label variant.
Delete
A stable label variant.
Archive
A stable label variant.
Restore
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for ApiResourceAction
impl Clone for ApiResourceAction
Source§fn clone(&self) -> ApiResourceAction
fn clone(&self) -> ApiResourceAction
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 moreSource§impl Debug for ApiResourceAction
impl Debug for ApiResourceAction
Source§impl Default for ApiResourceAction
impl Default for ApiResourceAction
Source§impl Display for ApiResourceAction
impl Display for ApiResourceAction
Source§impl FromStr for ApiResourceAction
impl FromStr for ApiResourceAction
Source§impl Hash for ApiResourceAction
impl Hash for ApiResourceAction
Source§impl Ord for ApiResourceAction
impl Ord for ApiResourceAction
Source§fn cmp(&self, other: &ApiResourceAction) -> Ordering
fn cmp(&self, other: &ApiResourceAction) -> 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 ApiResourceAction
impl PartialEq for ApiResourceAction
Source§fn eq(&self, other: &ApiResourceAction) -> bool
fn eq(&self, other: &ApiResourceAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ApiResourceAction
impl PartialOrd for ApiResourceAction
impl Copy for ApiResourceAction
impl Eq for ApiResourceAction
impl StructuralPartialEq for ApiResourceAction
Auto Trait Implementations§
impl Freeze for ApiResourceAction
impl RefUnwindSafe for ApiResourceAction
impl Send for ApiResourceAction
impl Sync for ApiResourceAction
impl Unpin for ApiResourceAction
impl UnsafeUnpin for ApiResourceAction
impl UnwindSafe for ApiResourceAction
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