Enum clockwork_client::webhook::state::HttpMethod
source · pub enum HttpMethod {
Get,
Post,
}Expand description
HttpMethod
Variants§
Trait Implementations§
source§impl BorshDeserialize for HttpMethod
impl BorshDeserialize for HttpMethod
source§fn deserialize(buf: &mut &[u8]) -> Result<HttpMethod, Error>
fn deserialize(buf: &mut &[u8]) -> Result<HttpMethod, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
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<'de> Deserialize<'de> for HttpMethod
impl<'de> Deserialize<'de> for HttpMethod
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<HttpMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<HttpMethod, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 ==.source§impl Serialize for HttpMethod
impl Serialize for HttpMethod
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more