pub enum Method {
Get,
Post,
Put,
Delete,
Patch,
Other(Cow<'static, str>),
}
Expand description
HTTP request methods supported by nyquest.
Variants§
Get
HTTP GET method
Post
HTTP POST method
Put
HTTP PUT method
Delete
HTTP DELETE method
Patch
HTTP PATCH method
Other(Cow<'static, str>)
Other HTTP methods not explicitly enumerated
Trait Implementations§
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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