Struct okapi::openapi3::Operation [−][src]
pub struct Operation {Show 13 fields
pub tags: Vec<String>,
pub summary: Option<String>,
pub description: Option<String>,
pub external_docs: Option<ExternalDocs>,
pub operation_id: Option<String>,
pub parameters: Vec<RefOr<Parameter>>,
pub request_body: Option<RefOr<RequestBody>>,
pub responses: Responses,
pub callbacks: Map<String, RefOr<Callback>>,
pub deprecated: bool,
pub security: Option<Vec<SecurityRequirement>>,
pub servers: Option<Vec<Server>>,
pub extensions: Object,
}
Fields
summary: Option<String>
description: Option<String>
external_docs: Option<ExternalDocs>
operation_id: Option<String>
parameters: Vec<RefOr<Parameter>>
request_body: Option<RefOr<RequestBody>>
responses: Responses
callbacks: Map<String, RefOr<Callback>>
deprecated: bool
security: Option<Vec<SecurityRequirement>>
servers: Option<Vec<Server>>
extensions: Object
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl UnwindSafe for Operation
Blanket Implementations
Mutably borrows from an owned value. Read more