pub struct OpenApiHeadersOutput<Inner, Headers>(/* private fields */);Expand description
Describes the headers a named product states beside the answer a kind already states.
Each member is one header every answer of the kind inside carries, named by the words its member name states, so the document keys it exactly as the answer writes it.
Trait Implementations§
Source§impl<Inner, Headers, Rest> OpenApiOutputAlg<(Headers, Rest)> for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers, Rest> OpenApiOutputAlg<(Headers, Rest)> for OpenApiHeadersOutput<Inner, Headers>
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<Inner, Headers> Freeze for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> RefUnwindSafe for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> Send for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> Sync for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> Unpin for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> UnsafeUnpin for OpenApiHeadersOutput<Inner, Headers>
impl<Inner, Headers> UnwindSafe for OpenApiHeadersOutput<Inner, Headers>
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> 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.