pub enum HttpMethod {
    Get,
    Post,
}Expand description
HttpMethod
Variants§
Trait Implementations§
source§impl BorshDeserialize for HttpMethod
 
impl BorshDeserialize for HttpMethod
source§impl BorshSerialize for HttpMethod
 
impl BorshSerialize for HttpMethod
source§impl Clone for HttpMethod
 
impl Clone for HttpMethod
source§fn clone(&self) -> HttpMethod
 
fn clone(&self) -> HttpMethod
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 HttpMethod
 
impl Debug for HttpMethod
source§impl Display for HttpMethod
 
impl Display for HttpMethod
source§impl FromStr for HttpMethod
 
impl FromStr for HttpMethod
source§impl PartialEq<HttpMethod> for HttpMethod
 
impl PartialEq<HttpMethod> for HttpMethod
source§fn eq(&self, other: &HttpMethod) -> bool
 
fn eq(&self, other: &HttpMethod) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.