pub struct HeaderExtractor<'a>(pub &'a HeaderMap);

Tuple Fields

0: &'a HeaderMap

Trait Implementations

Get a value for a key from the HeaderMap. If the value is not valid ASCII, returns None.

Collect all the keys from the HeaderMap.

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.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Performs the conversion.

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.