pub enum RequestMethod {
Put,
Post,
Get,
Delete,
}Expand description
Represents a HTTP method.
Variants§
Trait Implementations§
Source§impl Clone for RequestMethod
impl Clone for RequestMethod
Source§fn clone(&self) -> RequestMethod
fn clone(&self) -> RequestMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestMethod
impl Debug for RequestMethod
Source§impl Hash for RequestMethod
impl Hash for RequestMethod
Source§impl PartialEq for RequestMethod
impl PartialEq for RequestMethod
Source§fn eq(&self, other: &RequestMethod) -> bool
fn eq(&self, other: &RequestMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RequestMethod
impl Eq for RequestMethod
impl StructuralPartialEq for RequestMethod
Auto Trait Implementations§
impl Freeze for RequestMethod
impl RefUnwindSafe for RequestMethod
impl Send for RequestMethod
impl Sync for RequestMethod
impl Unpin for RequestMethod
impl UnsafeUnpin for RequestMethod
impl UnwindSafe for RequestMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more