pub enum ApiHttpMethod {
GET,
POST,
HEAD,
}Expand description
ApiHttpMethod
Variants§
Trait Implementations§
Source§impl CandidType for ApiHttpMethod
impl CandidType for ApiHttpMethod
Source§impl Clone for ApiHttpMethod
impl Clone for ApiHttpMethod
Source§fn clone(&self) -> ApiHttpMethod
fn clone(&self) -> ApiHttpMethod
Returns a duplicate 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 ApiHttpMethod
impl Debug for ApiHttpMethod
Source§impl<'de> Deserialize<'de> for ApiHttpMethod
impl<'de> Deserialize<'de> for ApiHttpMethod
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 From<ApiHttpMethod> for HttpMethod
impl From<ApiHttpMethod> for HttpMethod
Source§fn from(method: ApiHttpMethod) -> Self
fn from(method: ApiHttpMethod) -> Self
Converts to this type from the input type.
Source§impl Serialize for ApiHttpMethod
impl Serialize for ApiHttpMethod
impl Copy for ApiHttpMethod
Auto Trait Implementations§
impl Freeze for ApiHttpMethod
impl RefUnwindSafe for ApiHttpMethod
impl Send for ApiHttpMethod
impl Sync for ApiHttpMethod
impl Unpin for ApiHttpMethod
impl UnwindSafe for ApiHttpMethod
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