[][src]Struct mailchimp::CampaignFilter

pub struct CampaignFilter {
    pub fields: Option<String>,
    pub exclude_fields: Option<String>,
    pub count: Option<u64>,
    pub offset: Option<u64>,
    pub campaign_type: Option<String>,
    pub status: Option<String>,
    pub before_send_time: Option<String>,
    pub since_send_time: Option<String>,
    pub before_create_time: Option<String>,
    pub since_create_time: Option<String>,
    pub list_id: Option<String>,
    pub folder_id: Option<String>,
    pub sort_field: Option<String>,
    pub sort_dir: Option<String>,
}

Campaign Request Filter

Fields

fields: Option<String>

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

exclude_fields: Option<String>

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

count: Option<u64>

The number of records to return. Default value is 10.

offset: Option<u64>

The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. Default value is 0..

campaign_type: Option<String>

The campaign type. regular plaintext absplit rss variate

status: Option<String>

The status of the campaign.

before_send_time: Option<String>

Restrict the response to campaigns sent before the set time. We recommend ISO 8601 time format: 2015-10-21T15:41:36+00:00.

since_send_time: Option<String>

Restrict the response to campaigns sent after the set time. We recommend ISO 8601 time format: 2015-10-21T15:41:36+00:00.

before_create_time: Option<String>

Restrict the response to campaigns created before the set time. We recommend ISO 8601 time format: 2015-10-21T15:41:36+00:00.

since_create_time: Option<String>

Restrict the response to campaigns created after the set time. We recommend ISO 8601 time format: 2015-10-21T15:41:36+00:00.

list_id: Option<String>

The unique id for the list.

folder_id: Option<String>

The unique folder id.

sort_field: Option<String>

Returns files sorted by the specified field. create_time send_time

sort_dir: Option<String>

Determines the order direction for sorted results. ASC DESC

Trait Implementations

impl Clone for CampaignFilter[src]

impl Debug for CampaignFilter[src]

impl Default for CampaignFilter[src]

impl ResourceFilter for CampaignFilter[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> 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.