pub enum OperationType {
Get,
Put,
Post,
Delete,
Options,
Head,
Patch,
Trace,
}
Variants§
Get
A definition of a GET operation on this path.
Put
A definition of a PUT operation on this path.
Post
A definition of a POST operation on this path.
Delete
A definition of a DELETE operation on this path.
Options
A definition of a OPTIONS operation on this path.
Head
A definition of a HEAD operation on this path.
Patch
A definition of a PATCH operation on this path.
Trace
A definition of a TRACE operation on this path.
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
Returns a copy of the value. Read more
1.0.0 · 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 OperationType
impl Debug for OperationType
Source§impl Hash for OperationType
impl Hash for OperationType
Source§impl Ord for OperationType
impl Ord for OperationType
Source§fn cmp(&self, other: &OperationType) -> Ordering
fn cmp(&self, other: &OperationType) -> Ordering
1.21.0 · 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 OperationType
impl PartialEq for OperationType
Source§impl PartialOrd for OperationType
impl PartialOrd for OperationType
Source§impl Serialize for OperationType
impl Serialize for OperationType
impl Eq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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.