pub enum HttpRequestMethod {
GET,
POST,
PUT,
DELETE,
HEAD,
}
Expand description
The HTTP request method.
Variants
GET
Get resources.
POST
Change resources.
PUT
Change resources.
DELETE
Delete resources.
HEAD
Only get the headers of resources.
Implementations
Trait Implementations
sourceimpl Clone for HttpRequestMethod
impl Clone for HttpRequestMethod
sourcefn clone(&self) -> HttpRequestMethod
fn clone(&self) -> HttpRequestMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HttpRequestMethod
impl Debug for HttpRequestMethod
sourceimpl Display for HttpRequestMethod
impl Display for HttpRequestMethod
sourceimpl Hash for HttpRequestMethod
impl Hash for HttpRequestMethod
impl Copy for HttpRequestMethod
impl Eq for HttpRequestMethod
impl StructuralEq for HttpRequestMethod
impl StructuralPartialEq for HttpRequestMethod
Auto Trait Implementations
impl RefUnwindSafe for HttpRequestMethod
impl Send for HttpRequestMethod
impl Sync for HttpRequestMethod
impl Unpin for HttpRequestMethod
impl UnwindSafe for HttpRequestMethod
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more