Struct oapi::OApiParameter[][src]

pub struct OApiParameter { /* fields omitted */ }

Implementations

impl OApiParameter[src]

pub fn name(&self) -> &String[src]

Name of the parameter

pub fn in_(&self) -> &OApiParameterLocation[src]

Position of the parameter

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

Description of the parameter

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

Mark the parameter as mandatory

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

Mark the parameter as deprecated

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

Mark if the parameter should allow empty values

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

Style of the parameter

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

Mark if the parameter should be exploded

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

Mark if the paramter should allow reserved characters

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

Schema description the parameter

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

Example object for the parameter

Trait Implementations

impl Clone for OApiParameter[src]

impl Debug for OApiParameter[src]

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

impl OApiCheckTrait for OApiParameter[src]

impl OApiExtensionExtractor for OApiParameter[src]

impl PartialEq<OApiParameter> for OApiParameter[src]

impl Serialize for OApiParameter[src]

impl Sparsable for OApiParameter[src]

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