Struct oapi::OApiOperation[][src]

pub struct OApiOperation { /* fields omitted */ }

Implementations

impl OApiOperation[src]

pub fn tags(&self) -> &Vec<String>[src]

The tags this operation corresponds to

pub fn summary(&self) -> &Option<String>[src]

A summary of the operation

pub fn description(&self) -> &Option<String>[src]

A description of the operation

pub fn external_docs(&self) -> &Option<OApiExternalDocumentation>[src]

An external documentation for this operation

pub fn operation_id(&self) -> &Option<String>[src]

An unique operation id

pub fn parameters(&self) -> &Vec<SparseSelector<OApiParameter>>[src]

Parameters for the operations

pub fn request_body(&self) -> &Option<SparseSelector<OApiRequestBody>>[src]

A request body object

pub fn responses(&self) -> &HashMap<String, SparseSelector<OApiResponse>>[src]

A map of responses

pub fn callbacks(&self) -> &HashMap<String, SparseSelector<OApiCallback>>[src]

A map of callbacks

pub fn deprecated(&self) -> &bool[src]

Flag marking an operation as deprecated

pub fn security(&self) -> &Vec<HashMap<String, Vec<String>>>[src]

A list of security to use

pub fn servers(&self) -> &Vec<OApiServer>[src]

A list of servers to use

Trait Implementations

impl Clone for OApiOperation[src]

impl Debug for OApiOperation[src]

impl<'de> Deserialize<'de> for OApiOperation[src]

impl OApiCheckTrait for OApiOperation[src]

impl OApiExtensionExtractor for OApiOperation[src]

impl PartialEq<OApiOperation> for OApiOperation[src]

impl Serialize for OApiOperation[src]

impl Sparsable for OApiOperation[src]

impl StructuralPartialEq for OApiOperation[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,