Enum serenity::http::LightMethod [−][src]
pub enum LightMethod {
Delete,
Get,
Patch,
Post,
Put,
}
Expand description
Variants
Delete
Indicates that a route is for the DELETE
method only.
Get
Indicates that a route is for the GET
method only.
Patch
Indicates that a route is for the PATCH
method only.
Post
Indicates that a route is for the POST
method only.
Put
Indicates that a route is for the PUT
method only.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LightMethod
impl Send for LightMethod
impl Sync for LightMethod
impl Unpin for LightMethod
impl UnwindSafe for LightMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more