pub enum HttpRequestMethod {
HTTP_REQUEST_METHOD_UNSET = 0,
HTTP_REQUEST_METHOD_GET = 1,
HTTP_REQUEST_METHOD_POST = 2,
HTTP_REQUEST_METHOD_PUT = 3,
HTTP_REQUEST_METHOD_DELETE = 4,
HTTP_REQUEST_METHOD_PATCH = 5,
HTTP_REQUEST_METHOD_HEAD = 6,
HTTP_REQUEST_METHOD_OPTIONS = 7,
}Variants§
HTTP_REQUEST_METHOD_UNSET = 0
HTTP_REQUEST_METHOD_GET = 1
HTTP_REQUEST_METHOD_POST = 2
HTTP_REQUEST_METHOD_PUT = 3
HTTP_REQUEST_METHOD_DELETE = 4
HTTP_REQUEST_METHOD_PATCH = 5
HTTP_REQUEST_METHOD_HEAD = 6
HTTP_REQUEST_METHOD_OPTIONS = 7
Trait Implementations§
source§impl Clone for HttpRequestMethod
impl Clone for HttpRequestMethod
source§fn clone(&self) -> HttpRequestMethod
fn clone(&self) -> HttpRequestMethod
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 moresource§impl Debug for HttpRequestMethod
impl Debug for HttpRequestMethod
source§impl Default for HttpRequestMethod
impl Default for HttpRequestMethod
source§impl Enum for HttpRequestMethod
impl Enum for HttpRequestMethod
source§const NAME: &'static str = "HttpRequestMethod"
const NAME: &'static str = "HttpRequestMethod"
Enum name as specified in
.proto file. Read moresource§fn from_i32(value: i32) -> Option<HttpRequestMethod>
fn from_i32(value: i32) -> Option<HttpRequestMethod>
Try to create an enum from
i32 value.
Return None if value is unknown.source§fn from_str(str: &str) -> Option<HttpRequestMethod>
fn from_str(str: &str) -> Option<HttpRequestMethod>
Try to create an enum from
&str value.
Return None if str is unknown.source§const VALUES: &'static [HttpRequestMethod] = _
const VALUES: &'static [HttpRequestMethod] = _
All enum values for enum type.
source§impl EnumFull for HttpRequestMethod
impl EnumFull for HttpRequestMethod
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for HttpRequestMethod
impl Hash for HttpRequestMethod
source§impl PartialEq for HttpRequestMethod
impl PartialEq for HttpRequestMethod
source§fn eq(&self, other: &HttpRequestMethod) -> bool
fn eq(&self, other: &HttpRequestMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for HttpRequestMethod
impl Eq for HttpRequestMethod
impl StructuralEq for HttpRequestMethod
impl StructuralPartialEq for HttpRequestMethod
Auto Trait Implementations§
impl RefUnwindSafe for HttpRequestMethod
impl Send for HttpRequestMethod
impl Sync for HttpRequestMethod
impl Unpin for HttpRequestMethod
impl UnwindSafe for HttpRequestMethod
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