Struct poem_openapi::PoemExtractor[][src]

pub struct PoemExtractor<T>(pub T);
Expand description

Represents a poem extractor.

Tuple Fields

0: T

Trait Implementations

The type of API extractor.

The parameter type.

The raw parameter type for validators.

Parse from the HTTP request.

If it is true, it means that this parameter is required.

Register related types to registry.

Returns name of security scheme if this extractor is security scheme.

Returns the location of the parameter if this extractor is parameter.

Returns the schema of the parameter if this extractor is parameter.

Returns MetaRequest if this extractor is request object.

Returns a reference to the raw type of this parameter.

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more