Struct mailchimp_api::types::CreatedCampaign
source · pub struct CreatedCampaign {
pub content_type: Option<CreatedCampaignContentType>,
pub recipients: Option<CreatedCampaignList>,
pub rss_opts: Option<RssOptions>,
pub settings: Option<CreatedCampaignSettings>,
pub social_card: Option<SocialCard>,
pub tracking: Option<CampaignTrackingOptions>,
pub type_: CampaignType,
pub variate_settings: Option<VariateSettings>,
}Expand description
A summary of an individual campaign’s settings and content.
Fields
content_type: Option<CreatedCampaignContentType>A summary of an individual campaign’s settings and content.
recipients: Option<CreatedCampaignList>A summary of an individual campaign’s settings and content.
rss_opts: Option<RssOptions>A summary of an individual campaign’s settings and content.
settings: Option<CreatedCampaignSettings>A summary of an individual campaign’s settings and content.
A summary of an individual campaign’s settings and content.
tracking: Option<CampaignTrackingOptions>A summary of an individual campaign’s settings and content.
type_: CampaignTypeThere are four types of campaigns you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead.
variate_settings: Option<VariateSettings>A summary of an individual campaign’s settings and content.
Trait Implementations
sourceimpl Clone for CreatedCampaign
impl Clone for CreatedCampaign
sourcefn clone(&self) -> CreatedCampaign
fn clone(&self) -> CreatedCampaign
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 CreatedCampaign
impl Debug for CreatedCampaign
sourceimpl<'de> Deserialize<'de> for CreatedCampaign
impl<'de> Deserialize<'de> for CreatedCampaign
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 JsonSchema for CreatedCampaign
impl JsonSchema for CreatedCampaign
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<CreatedCampaign> for CreatedCampaign
impl PartialEq<CreatedCampaign> for CreatedCampaign
sourcefn eq(&self, other: &CreatedCampaign) -> bool
fn eq(&self, other: &CreatedCampaign) -> bool
sourceimpl Serialize for CreatedCampaign
impl Serialize for CreatedCampaign
impl StructuralPartialEq for CreatedCampaign
Auto Trait Implementations
impl RefUnwindSafe for CreatedCampaign
impl Send for CreatedCampaign
impl Sync for CreatedCampaign
impl Unpin for CreatedCampaign
impl UnwindSafe for CreatedCampaign
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