Enum ark_api::http_request::Method
source · pub enum Method {
Get,
Post,
Put,
Delete,
Patch,
Head,
Options,
Trace,
Connect,
}Expand description
HTTP request method
Variants§
Get
GET method
Post
POST method
Put
PUT method
Delete
DELETE method
Patch
PATCH method
Head
HEAD method
Options
OPTIONS method
Trace
TRACE method
Connect
CONNECT method
Trait Implementations§
source§impl CheckedBitPattern for Method
impl CheckedBitPattern for Method
§type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(bits: &<Method as CheckedBitPattern>::Bits) -> bool
fn is_valid_bit_pattern(bits: &<Method as CheckedBitPattern>::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.