pub enum Methods {
GET,
POST,
}Expand description
Defines the Methods enum, representing HTTP request methods.
The Methods enum includes commonly used HTTP methods such as GET and POST.
Variants§
Implementations§
Source§impl Methods
Provides utility methods for the Methods type.
impl Methods
Provides utility methods for the Methods type.
Trait Implementations§
impl Eq for Methods
impl StructuralPartialEq for Methods
Auto Trait Implementations§
impl Freeze for Methods
impl RefUnwindSafe for Methods
impl Send for Methods
impl Sync for Methods
impl Unpin for Methods
impl UnwindSafe for Methods
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