Enum ic_cdk::api::management_canister::http_request::HttpMethod
source · pub enum HttpMethod {
GET,
POST,
HEAD,
}
Expand description
HTTP method.
Currently support following methods.
Variants§
Trait Implementations§
source§impl CandidType for HttpMethod
impl CandidType 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<'de> Deserialize<'de> for HttpMethod
impl<'de> Deserialize<'de> for HttpMethod
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for HttpMethod
impl Hash for HttpMethod
source§impl Ord for HttpMethod
impl Ord for HttpMethod
source§fn cmp(&self, other: &HttpMethod) -> Ordering
fn cmp(&self, other: &HttpMethod) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HttpMethod> for HttpMethod
impl PartialEq<HttpMethod> for HttpMethod
source§fn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
source§impl PartialOrd<HttpMethod> for HttpMethod
impl PartialOrd<HttpMethod> for HttpMethod
source§fn partial_cmp(&self, other: &HttpMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &HttpMethod) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more