pub enum PortableHttpMethod {
Get,
Post,
}Variants§
Trait Implementations§
Source§impl Clone for PortableHttpMethod
impl Clone for PortableHttpMethod
Source§fn clone(&self) -> PortableHttpMethod
fn clone(&self) -> PortableHttpMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PortableHttpMethod
impl Debug for PortableHttpMethod
Source§impl Default for PortableHttpMethod
impl Default for PortableHttpMethod
Source§fn default() -> PortableHttpMethod
fn default() -> PortableHttpMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PortableHttpMethod
impl<'de> Deserialize<'de> for PortableHttpMethod
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
impl Eq for PortableHttpMethod
Source§impl Hash for PortableHttpMethod
impl Hash for PortableHttpMethod
Source§impl PartialEq for PortableHttpMethod
impl PartialEq for PortableHttpMethod
Source§impl Serialize for PortableHttpMethod
impl Serialize for PortableHttpMethod
impl StructuralPartialEq for PortableHttpMethod
Auto Trait Implementations§
impl Freeze for PortableHttpMethod
impl RefUnwindSafe for PortableHttpMethod
impl Send for PortableHttpMethod
impl Sync for PortableHttpMethod
impl Unpin for PortableHttpMethod
impl UnsafeUnpin for PortableHttpMethod
impl UnwindSafe for PortableHttpMethod
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