Trait poem_openapi::types::ToHeader
source · pub trait ToHeader: Type {
// Required method
fn to_header(&self) -> Option<HeaderValue>;
}
Expand description
Represents a type that can converted to HTTP header.
Required Methods§
Object Safety§
This trait is not object safe.