Struct mailchimp_api::types::CampaignContent
source · pub struct CampaignContent {
pub links: Vec<Links>,
pub archive_html: String,
pub html: String,
pub plain_text: String,
pub variate_contents: Vec<VariateContents>,
}Expand description
The HTML and plain-text content for a campaign.
Fields
links: Vec<Links>The HTML and plain-text content for a campaign.
archive_html: StringThe HTML and plain-text content for a campaign.
html: StringThe HTML and plain-text content for a campaign.
plain_text: StringThe HTML and plain-text content for a campaign.
variate_contents: Vec<VariateContents>The HTML and plain-text content for a campaign.
Trait Implementations
sourceimpl Clone for CampaignContent
impl Clone for CampaignContent
sourcefn clone(&self) -> CampaignContent
fn clone(&self) -> CampaignContent
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 CampaignContent
impl Debug for CampaignContent
sourceimpl<'de> Deserialize<'de> for CampaignContent
impl<'de> Deserialize<'de> for CampaignContent
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 CampaignContent
impl JsonSchema for CampaignContent
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<CampaignContent> for CampaignContent
impl PartialEq<CampaignContent> for CampaignContent
sourcefn eq(&self, other: &CampaignContent) -> bool
fn eq(&self, other: &CampaignContent) -> bool
sourceimpl Serialize for CampaignContent
impl Serialize for CampaignContent
impl StructuralPartialEq for CampaignContent
Auto Trait Implementations
impl RefUnwindSafe for CampaignContent
impl Send for CampaignContent
impl Sync for CampaignContent
impl Unpin for CampaignContent
impl UnwindSafe for CampaignContent
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