Enum paypal_rust::resources::enums::http_method::HttpMethod
source · [−]pub enum HttpMethod {
Get,
Post,
Put,
Delete,
Head,
Connect,
Options,
Patch,
}
Variants
Get
Post
Put
Delete
Head
Connect
Options
Patch
Implementations
sourceimpl HttpMethod
impl HttpMethod
Trait Implementations
sourceimpl AsRef<str> for HttpMethod
impl AsRef<str> for HttpMethod
sourceimpl Clone for HttpMethod
impl Clone for HttpMethod
sourcefn clone(&self) -> HttpMethod
fn clone(&self) -> HttpMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpMethod
impl Debug for HttpMethod
sourceimpl Default for HttpMethod
impl Default for HttpMethod
sourceimpl<'de> Deserialize<'de> for HttpMethod
impl<'de> Deserialize<'de> for HttpMethod
sourcefn 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
sourceimpl Display for HttpMethod
impl Display for HttpMethod
sourceimpl PartialEq<HttpMethod> for HttpMethod
impl PartialEq<HttpMethod> for HttpMethod
sourcefn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
sourceimpl Serialize for HttpMethod
impl Serialize for HttpMethod
impl Copy for HttpMethod
impl Eq for HttpMethod
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.