pub struct OpenApiParameter {
pub name: String,
pub location: ParameterLocation,
pub required: bool,
pub param_type: String,
pub description: Option<String>,
pub schema: Value,
}Fields§
§name: String§location: ParameterLocation§required: bool§param_type: String§description: Option<String>§schema: ValueTrait Implementations§
Source§impl Clone for OpenApiParameter
impl Clone for OpenApiParameter
Source§fn clone(&self) -> OpenApiParameter
fn clone(&self) -> OpenApiParameter
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 moreAuto Trait Implementations§
impl Freeze for OpenApiParameter
impl RefUnwindSafe for OpenApiParameter
impl Send for OpenApiParameter
impl Sync for OpenApiParameter
impl Unpin for OpenApiParameter
impl UnwindSafe for OpenApiParameter
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