[−][src]Struct oas_gen::QueryParamBuilder
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]
fn clone(&self) -> QueryParamBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryParamBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryParamBuilder
impl Send for QueryParamBuilder
impl Sync for QueryParamBuilder
impl Unpin for QueryParamBuilder
impl UnwindSafe for QueryParamBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,