pub enum RecordedMethod {
Get,
Post,
Put,
Delete,
Patch,
Head,
Options,
Extension,
}Expand description
Payload-free HTTP method classification.
Variants§
Get
GET.
Post
POST.
Put
PUT.
Delete
DELETE.
Patch
PATCH.
Head
HEAD.
Options
OPTIONS.
Extension
A validated provider extension method. Its token is not retained.
Trait Implementations§
Source§impl Clone for RecordedMethod
impl Clone for RecordedMethod
Source§fn clone(&self) -> RecordedMethod
fn clone(&self) -> RecordedMethod
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 moreimpl Copy for RecordedMethod
Source§impl Debug for RecordedMethod
impl Debug for RecordedMethod
impl Eq for RecordedMethod
Source§impl PartialEq for RecordedMethod
impl PartialEq for RecordedMethod
impl StructuralPartialEq for RecordedMethod
Auto Trait Implementations§
impl Freeze for RecordedMethod
impl RefUnwindSafe for RecordedMethod
impl Send for RecordedMethod
impl Sync for RecordedMethod
impl Unpin for RecordedMethod
impl UnsafeUnpin for RecordedMethod
impl UnwindSafe for RecordedMethod
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