Struct mailchimp_api::types::UsZipCodeSegment
source · pub struct UsZipCodeSegment {
pub condition_type: Option<UsZipCodeSegmentConditionType>,
pub extra: i64,
pub field: LocationBasedSegmentField,
pub op: UsZipCodeSegmentOperator,
pub value: i64,
}
Expand description
Segment by a specific US ZIP code.
Fields
condition_type: Option<UsZipCodeSegmentConditionType>
Segment by a specific US ZIP code.
extra: i64
The display order for interests.
field: LocationBasedSegmentField
Segmenting subscribers who are within a specific location.
op: UsZipCodeSegmentOperator
Segment members who are within a specific US zip code.
value: i64
The display order for interests.
Trait Implementations
sourceimpl Clone for UsZipCodeSegment
impl Clone for UsZipCodeSegment
sourcefn clone(&self) -> UsZipCodeSegment
fn clone(&self) -> UsZipCodeSegment
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 UsZipCodeSegment
impl Debug for UsZipCodeSegment
sourceimpl<'de> Deserialize<'de> for UsZipCodeSegment
impl<'de> Deserialize<'de> for UsZipCodeSegment
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 UsZipCodeSegment
impl JsonSchema for UsZipCodeSegment
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<UsZipCodeSegment> for UsZipCodeSegment
impl PartialEq<UsZipCodeSegment> for UsZipCodeSegment
sourcefn eq(&self, other: &UsZipCodeSegment) -> bool
fn eq(&self, other: &UsZipCodeSegment) -> bool
sourceimpl Serialize for UsZipCodeSegment
impl Serialize for UsZipCodeSegment
impl StructuralPartialEq for UsZipCodeSegment
Auto Trait Implementations
impl RefUnwindSafe for UsZipCodeSegment
impl Send for UsZipCodeSegment
impl Sync for UsZipCodeSegment
impl Unpin for UsZipCodeSegment
impl UnwindSafe for UsZipCodeSegment
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