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<'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 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
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations§
impl RefUnwindSafe for HttpMethod
impl Send for HttpMethod
impl Sync for HttpMethod
impl Unpin for HttpMethod
impl UnwindSafe for HttpMethod
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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