Enum htsget_lambda::HtsgetMethod
source · pub enum HtsgetMethod {
Get,
Post,
}
Expand description
Valid htsget http request methods.
Variants§
Trait Implementations§
source§impl Debug for HtsgetMethod
impl Debug for HtsgetMethod
source§impl PartialEq<HtsgetMethod> for HtsgetMethod
impl PartialEq<HtsgetMethod> for HtsgetMethod
source§fn eq(&self, other: &HtsgetMethod) -> bool
fn eq(&self, other: &HtsgetMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HtsgetMethod
impl StructuralEq for HtsgetMethod
impl StructuralPartialEq for HtsgetMethod
Auto Trait Implementations§
impl RefUnwindSafe for HtsgetMethod
impl Send for HtsgetMethod
impl Sync for HtsgetMethod
impl Unpin for HtsgetMethod
impl UnwindSafe for HtsgetMethod
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.