pub type Method { GETMethod POSTMethod PUTMethod PATCHMethod DELETEMethod HEADMethod OPTIONSMethod TRACEMethod CONNECTMethod CustomMethod(String) }
GETMethod
POSTMethod
PUTMethod
PATCHMethod
DELETEMethod
HEADMethod
OPTIONSMethod
TRACEMethod
CONNECTMethod
CustomMethod(String)
pub fn to_string(method: Method) -> String