Enum mailchimp_api::types::HttpMethod
source · pub enum HttpMethod {
Delete,
Get,
Patch,
Post,
Put,
Noop,
FallthroughString,
}
Expand description
The HTTP method to use for the operation.
Variants
Delete
Get
Patch
Post
Put
Noop
FallthroughString
Implementations
sourceimpl HttpMethod
impl HttpMethod
Trait Implementations
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
sourcefn default() -> HttpMethod
fn default() -> HttpMethod
Returns the “default value” for a type. Read more
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 JsonSchema for HttpMethod
impl JsonSchema for HttpMethod
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl 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 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