pub struct OpenApiJsonOutput;Expand description
Describes JSON answers in a document.
Trait Implementations§
Source§impl<From> OpenApiOutputAlg<From> for OpenApiJsonOutput
impl<From> OpenApiOutputAlg<From> for OpenApiJsonOutput
Source§fn answers(schema: &JsonSchemaShape) -> Vec<OpenApiAnswer>
fn answers(schema: &JsonSchemaShape) -> Vec<OpenApiAnswer>
Describes every answer this kind states, naming the shapes it mentions along the way.
Auto Trait Implementations§
impl Freeze for OpenApiJsonOutput
impl RefUnwindSafe for OpenApiJsonOutput
impl Send for OpenApiJsonOutput
impl Sync for OpenApiJsonOutput
impl Unpin for OpenApiJsonOutput
impl UnsafeUnpin for OpenApiJsonOutput
impl UnwindSafe for OpenApiJsonOutput
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<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
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.