pub struct OpenApiHeaderOutput<Inner, Name>(/* private fields */);Expand description
Describes a header an answer carries, beside the body it states.
Trait Implementations§
Source§impl<Inner, Name, Value, Rest> OpenApiOutputAlg<(Value, Rest)> for OpenApiHeaderOutput<Inner, Name>where
Inner: OpenApiOutputAlg<Rest>,
Name: HeaderNameAlg,
impl<Inner, Name, Value, Rest> OpenApiOutputAlg<(Value, Rest)> for OpenApiHeaderOutput<Inner, Name>where
Inner: OpenApiOutputAlg<Rest>,
Name: HeaderNameAlg,
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, Name> Freeze for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> RefUnwindSafe for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> Send for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> Sync for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> Unpin for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> UnsafeUnpin for OpenApiHeaderOutput<Inner, Name>
impl<Inner, Name> UnwindSafe for OpenApiHeaderOutput<Inner, Name>
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.