Struct k8s_openapi_codegen_common::swagger20::Parameter
source · [−]pub struct Parameter {
pub location: ParameterLocation,
pub name: String,
pub required: bool,
pub schema: Schema,
}
Expand description
An API operation parameter.
Fields
location: ParameterLocation
name: String
required: bool
schema: Schema
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more