Struct axum::extract::rejection::MissingJsonContentType [−][src]
#[non_exhaustive]pub struct MissingJsonContentType;
Expand description
Rejection type for Json
used if the Content-Type
header is missing.
Trait Implementations
Performs the conversion.
Create a response.
Auto Trait Implementations
impl RefUnwindSafe for MissingJsonContentType
impl Send for MissingJsonContentType
impl Sync for MissingJsonContentType
impl Unpin for MissingJsonContentType
impl UnwindSafe for MissingJsonContentType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
type Output = T
type Output = T
Should always be Self