pub enum ParamLocation {
Path,
Query,
Header,
Body,
}Expand description
API parameter location labels.
Variants§
Path
A stable label variant.
Query
A stable label variant.
Header
A stable label variant.
Body
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for ParamLocation
impl Clone for ParamLocation
Source§fn clone(&self) -> ParamLocation
fn clone(&self) -> ParamLocation
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 ParamLocation
impl Debug for ParamLocation
Source§impl Default for ParamLocation
impl Default for ParamLocation
Source§impl Display for ParamLocation
impl Display for ParamLocation
Source§impl FromStr for ParamLocation
impl FromStr for ParamLocation
Source§impl Hash for ParamLocation
impl Hash for ParamLocation
Source§impl Ord for ParamLocation
impl Ord for ParamLocation
Source§fn cmp(&self, other: &ParamLocation) -> Ordering
fn cmp(&self, other: &ParamLocation) -> 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 ParamLocation
impl PartialEq for ParamLocation
Source§fn eq(&self, other: &ParamLocation) -> bool
fn eq(&self, other: &ParamLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ParamLocation
impl PartialOrd for ParamLocation
impl Copy for ParamLocation
impl Eq for ParamLocation
impl StructuralPartialEq for ParamLocation
Auto Trait Implementations§
impl Freeze for ParamLocation
impl RefUnwindSafe for ParamLocation
impl Send for ParamLocation
impl Sync for ParamLocation
impl Unpin for ParamLocation
impl UnsafeUnpin for ParamLocation
impl UnwindSafe for ParamLocation
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