Use #[serde(with = "http_serde::option:: method ")] for Option< ::http::Method >
#[serde(with = "http_serde::option:: method ")]
Option< ::http::Method >