pub struct ParameterDescriptorSeed {
pub location: ParameterLocationSeed,
pub name: String,
pub required: bool,
pub description: Option<String>,
}Expand description
Parameter descriptor seed before rendering the generated metadata module.
Fields§
§location: ParameterLocationSeedParameter location in the HTTP request.
name: StringParameter name from the OpenAPI document.
required: boolWhether the parameter is required.
description: Option<String>Parameter description from the OpenAPI document.
Trait Implementations§
Source§impl Clone for ParameterDescriptorSeed
impl Clone for ParameterDescriptorSeed
Source§fn clone(&self) -> ParameterDescriptorSeed
fn clone(&self) -> ParameterDescriptorSeed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterDescriptorSeed
impl Debug for ParameterDescriptorSeed
Source§impl PartialEq for ParameterDescriptorSeed
impl PartialEq for ParameterDescriptorSeed
impl Eq for ParameterDescriptorSeed
impl StructuralPartialEq for ParameterDescriptorSeed
Auto Trait Implementations§
impl Freeze for ParameterDescriptorSeed
impl RefUnwindSafe for ParameterDescriptorSeed
impl Send for ParameterDescriptorSeed
impl Sync for ParameterDescriptorSeed
impl Unpin for ParameterDescriptorSeed
impl UnsafeUnpin for ParameterDescriptorSeed
impl UnwindSafe for ParameterDescriptorSeed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.