[][src]Struct struct2swagger::swagger_object::OperationObject

pub struct OperationObject {
    pub tags: Option<Vec<String>>,
    pub summary: Option<String>,
    pub description: Option<String>,
    pub external_docs: Option<ExternalDocumentationObject>,
    pub operation_id: Option<String>,
    pub parameters: Option<Vec<ParameterObjectOrReferenceObject>>,
    pub request_body: Option<RequestBodyObjectOrReferenceObject>,
    pub callbacks: Option<HashMap<String, CallbackObjectOrReferenceObject>>,
    pub deprecated: Option<bool>,
    pub security: Option<Vec<HashMap<String, String>>>,
    pub servers: Option<Vec<ServerObject>>,
    // some fields omitted
}

Fields

tags: Option<Vec<String>>summary: Option<String>description: Option<String>external_docs: Option<ExternalDocumentationObject>operation_id: Option<String>parameters: Option<Vec<ParameterObjectOrReferenceObject>>request_body: Option<RequestBodyObjectOrReferenceObject>callbacks: Option<HashMap<String, CallbackObjectOrReferenceObject>>deprecated: Option<bool>security: Option<Vec<HashMap<String, String>>>servers: Option<Vec<ServerObject>>

Trait Implementations

impl Clone for OperationObject[src]

impl Debug for OperationObject[src]

impl Serialize for OperationObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.