Module rocket_okapi_fork::request[][src]

Expand description

This module contains several traits that correspond to the Rocket traits pertaining to request guards and responses

Enums

Commonly the items in the request header can be parameters, or authorization methods in rocket, this item will let the implementer choose what they are

Traits

This trait means that the implementer can be used as a FromData request guard, and that this can also be documented.

This trait means that the implementer can be used as a FromForm request guard, and that this can also be documented.

This trait means that the implementer can be used as a FromFormField request guard, and that this can also be documented.

This trait means that the implementer can be used as a FromParam request guard, and that this can also be documented.

This will let the request guards add to the openapi spec

This trait means that the implementer can be used as a FromSegments request guard, and that this can also be documented.

Functions

Given an object that implements the JsonSchema generate all the Parameter that are used to create documentation. Use when manualy implementing a Form Guard. Example: