Struct shio::http::Method
[−]
[src]
pub struct Method(_);
The Request Method (VERB).
Methods
impl Method
[src]
const HEAD: Method
HEAD: Method = Method(<http_types::Method>::HEAD)
const OPTIONS: Method
OPTIONS: Method = Method(<http_types::Method>::OPTIONS)
const GET: Method
GET: Method = Method(<http_types::Method>::GET)
const POST: Method
POST: Method = Method(<http_types::Method>::POST)
const PUT: Method
PUT: Method = Method(<http_types::Method>::PUT)
const PATCH: Method
PATCH: Method = Method(<http_types::Method>::PATCH)
const DELETE: Method
DELETE: Method = Method(<http_types::Method>::DELETE)
const Head: Method
Deprecated since 0.2.0
: use Method::HEAD
instead
Head: Method = Method(<http_types::Method>::HEAD)
const Options: Method
Deprecated since 0.2.0
: use Method::OPTIONS
instead
Options: Method = Method(<http_types::Method>::OPTIONS)
const Get: Method
Deprecated since 0.2.0
: use Method::GET
instead
Get: Method = Method(<http_types::Method>::GET)
const Post: Method
Deprecated since 0.2.0
: use Method::POST
instead
Post: Method = Method(<http_types::Method>::POST)
const Put: Method
Deprecated since 0.2.0
: use Method::PUT
instead
Put: Method = Method(<http_types::Method>::PUT)
const Patch: Method
Deprecated since 0.2.0
: use Method::PATCH
instead
Patch: Method = Method(<http_types::Method>::PATCH)
const Delete: Method
Deprecated since 0.2.0
: use Method::DELETE
instead
Delete: Method = Method(<http_types::Method>::DELETE)
Trait Implementations
impl Debug for Method
[src]
impl PartialEq for Method
[src]
fn eq(&self, __arg_0: &Method) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Method) -> bool
[src]
This method tests for !=
.