pub fn deserialize<'de, D>(de: D) -> Result<Vec<Method>, D::Error>where
    D: Deserializer<'de>,