Enum rocket_okapi_fork::request::RequestHeaderInput [−][src]
pub enum RequestHeaderInput { None, Parameter(Parameter), Security((SecurityScheme, SecurityRequirement)), }
Expand description
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
Variants
This request header requires no input anywhere
Parameter input to the path, can be used to parse values from the header for example
Tuple Fields of Parameter
0: Parameter
the request guard implements a security scheme
Tuple Fields of Security
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RequestHeaderInput
impl Send for RequestHeaderInput
impl Sync for RequestHeaderInput
impl Unpin for RequestHeaderInput
impl UnwindSafe for RequestHeaderInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.