pub struct OperationRef {
pub method: String,
pub path: String,
}Expand description
One --operation value: an uppercased HTTP method and a path template that
must equal Endpoint::path byte for byte.
Fields§
§method: StringUppercase HTTP method.
path: StringExact path template from the spec, without Swagger 2 basePath.
Implementations§
Trait Implementations§
Source§impl Clone for OperationRef
impl Clone for OperationRef
Source§impl Debug for OperationRef
impl Debug for OperationRef
Source§impl Display for OperationRef
impl Display for OperationRef
impl Eq for OperationRef
Source§impl Hash for OperationRef
impl Hash for OperationRef
Source§impl PartialEq for OperationRef
impl PartialEq for OperationRef
impl StructuralPartialEq for OperationRef
Auto Trait Implementations§
impl Freeze for OperationRef
impl RefUnwindSafe for OperationRef
impl Send for OperationRef
impl Sync for OperationRef
impl Unpin for OperationRef
impl UnsafeUnpin for OperationRef
impl UnwindSafe for OperationRef
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> 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.