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