Struct mailchimp_api::types::SegmentOptions
source · pub struct SegmentOptions {
pub conditions: Vec<ConditionsOneOf>,
pub match_: Option<Match>,
pub prebuilt_segment_id: String,
pub saved_segment_id: i64,
}
Expand description
An object representing all segmentation options. This object should contain a saved_segment_id
to use an existing segment, or you can create a new segment by including both match
and conditions
options.
Fields
conditions: Vec<ConditionsOneOf>
An object representing all segmentation options. This object should contain a saved_segment_id
to use an existing segment, or you can create a new segment by including both match
and conditions
options.
match_: Option<Match>
An object representing all segmentation options. This object should contain a saved_segment_id
to use an existing segment, or you can create a new segment by including both match
and conditions
options.
prebuilt_segment_id: String
An object representing all segmentation options. This object should contain a saved_segment_id
to use an existing segment, or you can create a new segment by including both match
and conditions
options.
saved_segment_id: i64
An object representing all segmentation options. This object should contain a saved_segment_id
to use an existing segment, or you can create a new segment by including both match
and conditions
options.
Trait Implementations
sourceimpl Clone for SegmentOptions
impl Clone for SegmentOptions
sourcefn clone(&self) -> SegmentOptions
fn clone(&self) -> SegmentOptions
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for SegmentOptions
impl Debug for SegmentOptions
sourceimpl<'de> Deserialize<'de> for SegmentOptions
impl<'de> Deserialize<'de> for SegmentOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
sourceimpl JsonSchema for SegmentOptions
impl JsonSchema for SegmentOptions
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more