pub struct DefaultParameters {
pub parameters: Vec<Parameter>,
pub components: Vec<(String, ReferenceOr<Schema>)>,
}Expand description
Defines default parameters with their associated components. Can be built from a type implementing ApiComponent using the DefaultParameterAccessor trait
Fields§
§parameters: Vec<Parameter>§components: Vec<(String, ReferenceOr<Schema>)>Trait Implementations§
Source§impl Clone for DefaultParameters
impl Clone for DefaultParameters
Source§fn clone(&self) -> DefaultParameters
fn clone(&self) -> DefaultParameters
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 Default for DefaultParameters
impl Default for DefaultParameters
Source§fn default() -> DefaultParameters
fn default() -> DefaultParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultParameters
impl RefUnwindSafe for DefaultParameters
impl Send for DefaultParameters
impl Sync for DefaultParameters
impl Unpin for DefaultParameters
impl UnwindSafe for DefaultParameters
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