[][src]Struct mailchimp::types::CollectionListSegment

pub struct CollectionListSegment {
    pub segments: Vec<ListSegment>,
    pub list_id: String,
    pub total_items: u64,
    pub _links: Vec<LinkType>,
}

Response for endpoint GET /lists/{list_id}/segments

Fields

segments: Vec<ListSegment>

An array of objects, each representing a list segment.

list_id: String

The unique id for the list.

total_items: u64

The total number of items matching the query regardless of pagination.

_links: Vec<LinkType>

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

Trait Implementations

impl Clone for CollectionListSegment[src]

impl Debug for CollectionListSegment[src]

impl Default for CollectionListSegment[src]

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

impl MailchimpCollection<ListSegment> for CollectionListSegment[src]

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

Total Items

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

Data

impl Serialize for CollectionListSegment[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.