Enum mailchimp_api::types::CampaignType
source · pub enum CampaignType {
Absplit,
Plaintext,
Regular,
Rss,
Variate,
Noop,
FallthroughString,
}
Expand description
There are four types of campaigns you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead.
Variants
Absplit
Plaintext
Regular
Rss
Variate
Noop
FallthroughString
Implementations
sourceimpl CampaignType
impl CampaignType
Trait Implementations
sourceimpl Clone for CampaignType
impl Clone for CampaignType
sourcefn clone(&self) -> CampaignType
fn clone(&self) -> CampaignType
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 CampaignType
impl Debug for CampaignType
sourceimpl Default for CampaignType
impl Default for CampaignType
sourcefn default() -> CampaignType
fn default() -> CampaignType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CampaignType
impl<'de> Deserialize<'de> for CampaignType
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 CampaignType
impl Display for CampaignType
sourceimpl JsonSchema for CampaignType
impl JsonSchema for CampaignType
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<CampaignType> for CampaignType
impl PartialEq<CampaignType> for CampaignType
sourcefn eq(&self, other: &CampaignType) -> bool
fn eq(&self, other: &CampaignType) -> bool
sourceimpl Serialize for CampaignType
impl Serialize for CampaignType
impl StructuralPartialEq for CampaignType
Auto Trait Implementations
impl RefUnwindSafe for CampaignType
impl Send for CampaignType
impl Sync for CampaignType
impl Unpin for CampaignType
impl UnwindSafe for CampaignType
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