Enum ark_api::http_request::Method
source · [−]#[repr(u32)]
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
sourceimpl 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
. Read more
sourcefn 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
. Read more
sourceimpl PartialEq<Method> for Method
impl PartialEq<Method> for Method
impl Copy for Method
impl Eq for Method
impl NoUninit for Method
impl StructuralEq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more