Enum racal::RequestMethod
source · pub enum RequestMethod {
Head,
Get,
Post,
Put,
Patch,
Delete,
}
Expand description
Possible request methods
Variants§
Head
The request should use the HEAD
method
Get
The request should use the GET
method
Post
The request should use the POST
method
Put
The request should use the PUT
method
Patch
The request should use the PATCH
method
Delete
The request should use the DELETE
method
Trait Implementations§
source§impl Clone for RequestMethod
impl Clone for RequestMethod
source§fn clone(&self) -> RequestMethod
fn clone(&self) -> RequestMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for RequestMethod
impl Send for RequestMethod
impl Sync for RequestMethod
impl Unpin 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