pub struct CampaignContentVariateContents {
pub archive: Option<Archive>,
pub content_label: String,
pub html: String,
pub plain_text: String,
pub template: Option<TemplateContent>,
pub url: String,
}Fields
archive: Option<Archive>Available when uploading an archive to create campaign content. The archive should include all campaign content and images. Learn more.
content_label: StringThe name of the folder.
html: StringThe name of the folder.
plain_text: StringThe name of the folder.
template: Option<TemplateContent>Use this template to generate the HTML content for the campaign.
url: StringThe name of the folder.
Trait Implementations
sourceimpl Clone for CampaignContentVariateContents
impl Clone for CampaignContentVariateContents
sourcefn clone(&self) -> CampaignContentVariateContents
fn clone(&self) -> CampaignContentVariateContents
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<'de> Deserialize<'de> for CampaignContentVariateContents
impl<'de> Deserialize<'de> for CampaignContentVariateContents
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 CampaignContentVariateContents
impl JsonSchema for CampaignContentVariateContents
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<CampaignContentVariateContents> for CampaignContentVariateContents
impl PartialEq<CampaignContentVariateContents> for CampaignContentVariateContents
sourcefn eq(&self, other: &CampaignContentVariateContents) -> bool
fn eq(&self, other: &CampaignContentVariateContents) -> bool
impl StructuralPartialEq for CampaignContentVariateContents
Auto Trait Implementations
impl RefUnwindSafe for CampaignContentVariateContents
impl Send for CampaignContentVariateContents
impl Sync for CampaignContentVariateContents
impl Unpin for CampaignContentVariateContents
impl UnwindSafe for CampaignContentVariateContents
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