Struct mailchimp_api::types::ZipCodeLocationBasedSegment
source · pub struct ZipCodeLocationBasedSegment {
pub condition_type: Option<ZipCodeLocationBasedSegmentConditionType>,
pub field: LocationBasedSegmentField,
pub op: ZipCodeLocationBasedSegmentOperator,
pub value: i64,
}
Expand description
Segment by a specific US ZIP code.
Fields
condition_type: Option<ZipCodeLocationBasedSegmentConditionType>
Segment by a specific US ZIP code.
field: LocationBasedSegmentField
Segmenting subscribers who are within a specific location.
op: ZipCodeLocationBasedSegmentOperator
Segment members who are/are not within a specific US zip code.
value: i64
The display order for interests.
Trait Implementations
sourceimpl Clone for ZipCodeLocationBasedSegment
impl Clone for ZipCodeLocationBasedSegment
sourcefn clone(&self) -> ZipCodeLocationBasedSegment
fn clone(&self) -> ZipCodeLocationBasedSegment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ZipCodeLocationBasedSegment
impl Debug for ZipCodeLocationBasedSegment
sourceimpl<'de> Deserialize<'de> for ZipCodeLocationBasedSegment
impl<'de> Deserialize<'de> for ZipCodeLocationBasedSegment
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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for ZipCodeLocationBasedSegment
impl JsonSchema for ZipCodeLocationBasedSegment
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<ZipCodeLocationBasedSegment> for ZipCodeLocationBasedSegment
impl PartialEq<ZipCodeLocationBasedSegment> for ZipCodeLocationBasedSegment
sourcefn eq(&self, other: &ZipCodeLocationBasedSegment) -> bool
fn eq(&self, other: &ZipCodeLocationBasedSegment) -> bool
impl StructuralPartialEq for ZipCodeLocationBasedSegment
Auto Trait Implementations
impl RefUnwindSafe for ZipCodeLocationBasedSegment
impl Send for ZipCodeLocationBasedSegment
impl Sync for ZipCodeLocationBasedSegment
impl Unpin for ZipCodeLocationBasedSegment
impl UnwindSafe for ZipCodeLocationBasedSegment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more