Struct oapi::OApiHeader[][src]

pub struct OApiHeader { /* fields omitted */ }

Implementations

impl OApiHeader[src]

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

A description of the header object

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

Mark the header as required

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

Mark the header as deprecated

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

Mark the header as accepting empty values

pub fn style(&self) -> &Option<OApiParameterStyle>[src]

Describe the header style

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

Mark the header as exploded

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

Mark the header as accepting reserved characters

pub fn schema(&self) -> &Option<OperatorSelector<OApiSchema>>[src]

Describe the schema of the header

pub fn example(&self) -> &Option<OApiExampleSelector>[src]

An example of the header to illustrate its schema

Trait Implementations

impl Clone for OApiHeader[src]

impl Debug for OApiHeader[src]

impl Default for OApiHeader[src]

impl<'de> Deserialize<'de> for OApiHeader where
    OApiHeader: Default
[src]

impl OApiCheckTrait for OApiHeader[src]

impl OApiExtensionExtractor for OApiHeader[src]

impl PartialEq<OApiHeader> for OApiHeader[src]

impl Serialize for OApiHeader[src]

impl Sparsable for OApiHeader[src]

impl StructuralPartialEq for OApiHeader[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>,