Struct InvalidFormContentType
struct InvalidFormContentType
Rejection type for Form or RawForm
used if the Content-Type header is missing
or its value is not application/x-www-form-urlencoded.
Implementations
impl InvalidFormContentType
fn body_text(self: &Self) -> StringGet the response body text used for this rejection.
fn status(self: &Self) -> http::StatusCodeGet the status code used for this rejection.
impl Debug for InvalidFormContentType
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Default for InvalidFormContentType
fn default() -> Self
impl Display for InvalidFormContentType
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Error for InvalidFormContentType
impl Freeze for InvalidFormContentType
impl IntoResponse for InvalidFormContentType
fn into_response(self: Self) -> $crate::response::Response
impl RefUnwindSafe for InvalidFormContentType
impl Send for InvalidFormContentType
impl Sync for InvalidFormContentType
impl Unpin for InvalidFormContentType
impl UnwindSafe for InvalidFormContentType
impl<T> Any for InvalidFormContentType
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for InvalidFormContentType
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for InvalidFormContentType
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for InvalidFormContentType
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for InvalidFormContentType
impl<T> Same for InvalidFormContentType
impl<T> ToString for InvalidFormContentType
fn to_string(self: &Self) -> String
impl<T> WithSubscriber for InvalidFormContentType
impl<T, U> Into for InvalidFormContentType
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for InvalidFormContentType
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for InvalidFormContentType
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for InvalidFormContentType
fn vzip(self: Self) -> V