pub enum ParameterLocation {
Body,
Path,
Query,
}
Expand description
The location of an API operation parameter in the HTTP request.
Variants§
Trait Implementations§
source§impl Clone for ParameterLocation
impl Clone for ParameterLocation
source§fn clone(&self) -> ParameterLocation
fn clone(&self) -> ParameterLocation
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 ParameterLocation
impl Debug for ParameterLocation
source§impl PartialEq<ParameterLocation> for ParameterLocation
impl PartialEq<ParameterLocation> for ParameterLocation
source§fn eq(&self, other: &ParameterLocation) -> bool
fn eq(&self, other: &ParameterLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParameterLocation
impl Eq for ParameterLocation
impl StructuralEq for ParameterLocation
impl StructuralPartialEq for ParameterLocation
Auto Trait Implementations§
impl RefUnwindSafe for ParameterLocation
impl Send for ParameterLocation
impl Sync for ParameterLocation
impl Unpin for ParameterLocation
impl UnwindSafe for ParameterLocation
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