[][src]Struct mailchimp::types::ModifierListSegmentParams

pub struct ModifierListSegmentParams {
    pub name: String,
    pub static_segment: Option<Vec<String>>,
    pub options: Option<SegmentOptionsType>,
}

Edit/Create List Segment

Fields

name: String

The name of the segment.

static_segment: Option<Vec<String>>

An array of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. Passing an empty array for an existing static segment will reset that segment and remove all members. This field cannot be provided with the options field.

options: Option<SegmentOptionsType>

The conditions of the segment. Static and fuzzy segments don’t have conditions.

Trait Implementations

impl Clone for ModifierListSegmentParams[src]

impl Debug for ModifierListSegmentParams[src]

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

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