pub struct OpenApiNamed {
pub name: String,
pub schema: Value,
pub required: bool,
}Expand description
One named value an argument is read from.
Fields§
§name: StringThe name this value is stated under.
schema: ValueThe schema this value carries.
required: boolWhether a caller must state it.
Trait Implementations§
Source§impl Clone for OpenApiNamed
impl Clone for OpenApiNamed
Auto Trait Implementations§
impl Freeze for OpenApiNamed
impl RefUnwindSafe for OpenApiNamed
impl Send for OpenApiNamed
impl Sync for OpenApiNamed
impl Unpin for OpenApiNamed
impl UnsafeUnpin for OpenApiNamed
impl UnwindSafe for OpenApiNamed
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<This> HttpOperationExt<This> for This
impl<This> HttpOperationExt<This> for This
Source§impl<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
Source§fn program<Program>(&self, program: Program) -> Routes<'_, This>
fn program<Program>(&self, program: Program) -> Routes<'_, This>
Interprets a named program for further route composition.
Source§fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
Compiles a named HTTP program with this interpreter.
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.