pub struct CampaignType {
Show 24 fields pub id: Option<String>, pub web_id: Option<u64>, pub parent_campaign_id: Option<String>, pub campaign_type: Option<String>, pub create_time: Option<String>, pub archive_url: Option<String>, pub long_archive_url: Option<String>, pub status: Option<String>, pub emails_sent: Option<u64>, pub send_time: Option<String>, pub content_type: Option<String>, pub needs_block_refresh: Option<bool>, pub has_logo_merge_tag: Option<bool>, pub resendable: Option<bool>, pub recipients: Option<RecipientType>, pub settings: Option<CampaignSettingsType>, pub variate_settings: Option<VariateSettingsType>, pub tracking: Option<CampaignTrackingOptionsType>, pub rss_opts: Option<RSSOptionsType>, pub ab_split_opts: Option<ABTestingOptionsType>, pub social_card: Option<SocialCardType>, pub report_summary: Option<CampaignReportSummaryType>, pub delivery_status: Option<CampaignDeliveryStatusType>, pub _links: Option<Vec<LinkType>>, /* private fields */
}

Fields

id: Option<String>

A string that uniquely identifies this campaign.

web_id: Option<u64>

The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}.

parent_campaign_id: Option<String>

If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children.

campaign_type: Option<String>

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.

create_time: Option<String>

The date and time the campaign was created in ISO 8601 format.

archive_url: Option<String>

The link to the campaign’s archive version in ISO 8601 format.

long_archive_url: Option<String>

The original link to the campaign’s archive version.

status: Option<String>

The current status of the campaign.

emails_sent: Option<u64>

The total number of emails sent for this campaign.

send_time: Option<String>

The date and time a campaign was sent.

content_type: Option<String>

How the campaign’s content is put together (‘template’, ‘drag_and_drop’, ‘html’, ‘url’).

needs_block_refresh: Option<bool>

Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor.

has_logo_merge_tag: Option<bool>

Determines if the campaign contains the |BRAND:LOGO| merge tag.

resendable: Option<bool>

Determines if the campaign qualifies to be resent to non-openers.

recipients: Option<RecipientType>

List settings for the campaign.

settings: Option<CampaignSettingsType>

The settings for your campaign, including subject, from name, reply-to address, and more.

variate_settings: Option<VariateSettingsType>

The settings specific to A/B test campaigns.

tracking: Option<CampaignTrackingOptionsType>

The tracking options for a campaign.

rss_opts: Option<RSSOptionsType>

RSS options for a campaign.

ab_split_opts: Option<ABTestingOptionsType>

A/B Testing options for a campaign.

social_card: Option<SocialCardType>

The preview for the campaign, rendered by social networks like Facebook and Twitter. Learn more.

report_summary: Option<CampaignReportSummaryType>

For sent campaigns, a summary of opens, clicks, and e-commerce data.

delivery_status: Option<CampaignDeliveryStatusType>

Updates on campaigns in the process of sending.

_links: Option<Vec<LinkType>>

Desc: A list of link types and descriptions for the API schema documents.

Implementations

Cancel a campaign

Resend a campaign

Pause an RSS-Driven campaign

Replicate a campaign in saved or send status.

Resume an RSS-Driven campaign.

Schedule a campaign for delivery. If you’re using Multivariate Campaigns to test send times or sending RSS Campaigns, use the send action instead.

Send a Mailchimp campaign. For RSS Campaigns, the campaign will send according to its schedule. All other campaigns will send immediately.

Send a test email.

Unschedule a scheduled campaign that hasn’t started sending.

Remove a campaign from your Mailchimp account.

Remove a campaign from your Mailchimp account.

Get the the HTML and plain-text content for a campaign.

Arguments: fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Set the content for a campaign.

Review the send checklist for a campaign, and resolve any issues before sending.

Arguments: fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Get team feedback while you’re working together on a Mailchimp campaign.

Arguments: fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Total Items

Data

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.