pub fn mismatch_type(&self) -> String {
        match *self {
            Mismatch::MethodMismatch { .. } => s!("MethodMismatch"),
            Mismatch::PathMismatch { .. } => s!("PathMismatch"),
            Mismatch::StatusMismatch { .. } => s!("StatusMismatch"),
            Mismatch::QueryMismatch { .. } => s!("QueryMismatch"),
            Mismatch::HeaderMismatch { .. } => s!("HeaderMismatch"),
            Mismatch::BodyTypeMismatch { .. } => s!("BodyTypeMismatch"),
            Mismatch::BodyMismatch { .. } => s!("BodyMismatch")
        }
    }
/// Returns the type of the mismatch as a string
Returns the type of the mismatch as a string
Returns the type of the mismatch as a string
pub fn mismatch_type(&self) -> String {
        match *self {
            Mismatch::MethodMismatch { .. } => s!("MethodMismatch"),
            Mismatch::PathMismatch { .. } => s!("PathMismatch"),
            Mismatch::StatusMismatch { .. } => s!("StatusMismatch"),
            Mismatch::QueryMismatch { .. } => s!("QueryMismatch"),
            Mismatch::HeaderMismatch { .. } => s!("HeaderMismatch"),
            Mismatch::BodyTypeMismatch { .. } => s!("BodyTypeMismatch"),
            Mismatch::BodyMismatch { .. } => s!("BodyMismatch")
        }
    }
pub fn mismatch_type ( & self ) -> String { match * self { Mismatch :: MethodMismatch { .. } => s ! ( " " ) , Mismatch :: PathMismatch { .. } => s ! ( " " ) , Mismatch :: StatusMismatch { .. } => s ! ( " " ) , Mismatch :: QueryMismatch { .. } => s ! ( " " ) , Mismatch :: HeaderMismatch { .. } => s ! ( " " ) , Mismatch :: BodyTypeMismatch { .. } => s ! ( " " ) , Mismatch :: BodyMismatch { .. } => s ! ( " " ) } }
Returns the type of the mismatch as a string
Returns the type of the mismatch as a string
&self
&self