weft_data::enumMethodpub enum Method { Get, Post, Put, Patch, Delete, }An HTTP method.VariantsGetGetGETPostPostPOSTPutPutPUTPatchPatchPATCHDeleteDeleteDELETEMethodsas_strpub fn as_str(self) -> &'static strThe method as HTTP writes it: GET, POST…parsepub fn parse(s: &str) -> Option<Method>The method s names, in any case.Trait implementationsimpl Clone for Methodimpl Copy for Methodimpl Debug for Methodimpl Eq for Methodimpl PartialEq for Methodimpl StructuralPartialEq for Method