[][src]Struct oas_gen::QueryParamBuilder

pub struct QueryParamBuilder { /* fields omitted */ }

Implementations

impl QueryParamBuilder[src]

#[must_use]pub fn new<T: JsonSchema + Serialize>(name: String, example: Option<T>) -> Self[src]

#[must_use]pub fn build(&self) -> Parameter[src]

#[must_use]pub fn description(&self, description: String) -> Self[src]

#[must_use]pub fn required(&self, required: bool) -> Self[src]

#[must_use]pub fn deprecated(&self, deprecated: bool) -> Self[src]

#[must_use]pub fn allow_empty_value(&self, allow_empty_value: bool) -> Self[src]

#[must_use]pub fn style(&self, style: ParameterStyle) -> Self[src]

#[must_use]pub fn explode(&self, explode: bool) -> Self[src]

#[must_use]pub fn allow_reserved(&self, allow_reserved: bool) -> Self[src]

#[must_use]pub fn example(&self, example: Value) -> Self[src]

#[must_use]pub fn examples(&self, examples: Map<String, Example>) -> Self[src]

Trait Implementations

impl Clone for QueryParamBuilder[src]

impl Debug for QueryParamBuilder[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.