[][src]Struct mailchimp::types::LandingPage

pub struct LandingPage {
    pub id: String,
    pub name: String,
    pub title: String,
    pub description: String,
    pub template_id: u64,
    pub status: String,
    pub list_id: String,
    pub store_id: String,
    pub url: String,
    pub created_at: String,
    pub published_at: String,
    pub unpublished_at: String,
    pub updated_at: String,
    pub _links: Vec<LinkType>,
    // some fields omitted
}

Manage your Landing Pages, including publishing and unpublishing.

Fields

id: String

Landing Page ID, A string that uniquely identifies this landing page.

name: String

Landing Page Name, The name of this landing page.

title: String

The title of this landing page seen in the browser’s title bar.

description: String

The description of this landing page.

template_id: u64

The template_id of this landing page.

status: String

The status of this landing page.

list_id: String

The list’s ID associated with this landing page.

store_id: String

The ID of the store associated with this landing page.

url: String

The url of the published landing page.

created_at: String

The time this landing page was created.

published_at: String

The time this landing page was published.

unpublished_at: String

The time this landing page was unpublished.

updated_at: String

The time this landing page was updated at.

_links: Vec<LinkType>

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

Methods

impl LandingPage[src]

pub fn delete(&self) -> Option<MailchimpErrorType>[src]

Delete a webhook

Delete a specific webhook in a list.

pub fn set_api(&mut self, api: Rc<MailchimpApi>)[src]

Set API

pub fn set_endpoint<'a>(&mut self, endpoint: &'a str)[src]

Set Endpoint

Trait Implementations

impl Clone for LandingPage[src]

impl Debug for LandingPage[src]

impl<'de> Deserialize<'de> for LandingPage[src]

impl MailchimpCollection<LandingPage> for CollectionLandingPage[src]

fn get_total_items(&self) -> u64[src]

Total Items

fn get_values(&self) -> Vec<LandingPage>[src]

Data

impl Serialize for LandingPage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.