Struct mailchimp::ListFilter

source ·
pub struct ListFilter {
Show 13 fields 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 email: Option<String>, pub sort_field: Option<String>, pub sort_dir: Option<String>,
}

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.

email: Option<String>

Restrict results to lists that include a specific subscriber’s email address.

sort_field: Option<String>

Returns files sorted by the specified field.

sort_dir: Option<String>

Determines the order direction for sorted results. ASC DESC

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
Returns the “default value” for a type. 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.