pub enum OpenApiOperationKind {
Get,
Post,
Put,
Patch,
Delete,
Options,
Head,
Trace,
}Expand description
OpenAPI operation kind labels.
Variants§
Get
A stable label variant.
Post
A stable label variant.
Put
A stable label variant.
Patch
A stable label variant.
Delete
A stable label variant.
Options
A stable label variant.
Head
A stable label variant.
Trace
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiOperationKind
impl Clone for OpenApiOperationKind
Source§fn clone(&self) -> OpenApiOperationKind
fn clone(&self) -> OpenApiOperationKind
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 OpenApiOperationKind
impl Debug for OpenApiOperationKind
Source§impl Default for OpenApiOperationKind
impl Default for OpenApiOperationKind
Source§impl Display for OpenApiOperationKind
impl Display for OpenApiOperationKind
Source§impl FromStr for OpenApiOperationKind
impl FromStr for OpenApiOperationKind
Source§impl Hash for OpenApiOperationKind
impl Hash for OpenApiOperationKind
Source§impl Ord for OpenApiOperationKind
impl Ord for OpenApiOperationKind
Source§fn cmp(&self, other: &OpenApiOperationKind) -> Ordering
fn cmp(&self, other: &OpenApiOperationKind) -> 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 OpenApiOperationKind
impl PartialEq for OpenApiOperationKind
Source§fn eq(&self, other: &OpenApiOperationKind) -> bool
fn eq(&self, other: &OpenApiOperationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpenApiOperationKind
impl PartialOrd for OpenApiOperationKind
impl Copy for OpenApiOperationKind
impl Eq for OpenApiOperationKind
impl StructuralPartialEq for OpenApiOperationKind
Auto Trait Implementations§
impl Freeze for OpenApiOperationKind
impl RefUnwindSafe for OpenApiOperationKind
impl Send for OpenApiOperationKind
impl Sync for OpenApiOperationKind
impl Unpin for OpenApiOperationKind
impl UnsafeUnpin for OpenApiOperationKind
impl UnwindSafe for OpenApiOperationKind
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