[−][src]Struct opg::models::Operation
Operation Object
Fields
A list of tags for API documentation control
Tags can be used for logical grouping of operations by resources or any other qualifier.
summary: Option<String>
A short summary of what the operation does
description: Option<String>
A verbose explanation of the operation behavior
security: Vec<BTreeMap<String, Vec<String>>>
A declaration of which security mechanisms can be used for this operation
request_body: Option<RequestBody>
The request body applicable for this operation
responses: BTreeMap<u16, Response>
The list of possible responses as they are returned from executing this operation
parameters: BTreeMap<String, OperationParameter>
A list of parameters that are applicable for this operation
Trait Implementations
impl Clone for Operation
[src]
impl Debug for Operation
[src]
impl Default for Operation
[src]
impl Serialize for Operation
[src]
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,