Struct mailchimp_api::types::LocationBasedSegment
source · pub struct LocationBasedSegment {
pub condition_type: Option<LocationBasedSegmentConditionType>,
pub field: LocationBasedSegmentField,
pub op: LocationBasedSegmentOperator,
pub value: String,
}Expand description
Segment by a specific country or US state.
Fields
condition_type: Option<LocationBasedSegmentConditionType>Segment by a specific country or US state.
field: LocationBasedSegmentFieldSegmenting subscribers who are within a specific location.
op: LocationBasedSegmentOperatorSegment members who are within a specific country or US state.
value: StringThe name of the folder.
Trait Implementations
sourceimpl Clone for LocationBasedSegment
impl Clone for LocationBasedSegment
sourcefn clone(&self) -> LocationBasedSegment
fn clone(&self) -> LocationBasedSegment
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 LocationBasedSegment
impl Debug for LocationBasedSegment
sourceimpl<'de> Deserialize<'de> for LocationBasedSegment
impl<'de> Deserialize<'de> for LocationBasedSegment
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 LocationBasedSegment
impl JsonSchema for LocationBasedSegment
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<LocationBasedSegment> for LocationBasedSegment
impl PartialEq<LocationBasedSegment> for LocationBasedSegment
sourcefn eq(&self, other: &LocationBasedSegment) -> bool
fn eq(&self, other: &LocationBasedSegment) -> bool
sourceimpl Serialize for LocationBasedSegment
impl Serialize for LocationBasedSegment
impl StructuralPartialEq for LocationBasedSegment
Auto Trait Implementations
impl RefUnwindSafe for LocationBasedSegment
impl Send for LocationBasedSegment
impl Sync for LocationBasedSegment
impl Unpin for LocationBasedSegment
impl UnwindSafe for LocationBasedSegment
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