Struct mailchimp_api::types::GeolocationSegment
source · pub struct GeolocationSegment {
pub addr: String,
pub condition_type: Option<GeolocationSegmentConditionType>,
pub field: LocationBasedSegmentField,
pub lat: String,
pub lng: String,
pub op: GeolocationSegmentOperator,
pub value: i64,
}
Expand description
Segment by a specific geographic region.
Fields
addr: String
The name of the folder.
condition_type: Option<GeolocationSegmentConditionType>
Segment by a specific geographic region.
field: LocationBasedSegmentField
Segmenting subscribers who are within a specific location.
lat: String
The name of the folder.
lng: String
The name of the folder.
op: GeolocationSegmentOperator
Segment members who are within a specific geographic region.
value: i64
The display order for interests.
Trait Implementations
sourceimpl Clone for GeolocationSegment
impl Clone for GeolocationSegment
sourcefn clone(&self) -> GeolocationSegment
fn clone(&self) -> GeolocationSegment
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 GeolocationSegment
impl Debug for GeolocationSegment
sourceimpl<'de> Deserialize<'de> for GeolocationSegment
impl<'de> Deserialize<'de> for GeolocationSegment
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 GeolocationSegment
impl JsonSchema for GeolocationSegment
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<GeolocationSegment> for GeolocationSegment
impl PartialEq<GeolocationSegment> for GeolocationSegment
sourcefn eq(&self, other: &GeolocationSegment) -> bool
fn eq(&self, other: &GeolocationSegment) -> bool
sourceimpl Serialize for GeolocationSegment
impl Serialize for GeolocationSegment
impl StructuralPartialEq for GeolocationSegment
Auto Trait Implementations
impl RefUnwindSafe for GeolocationSegment
impl Send for GeolocationSegment
impl Sync for GeolocationSegment
impl Unpin for GeolocationSegment
impl UnwindSafe for GeolocationSegment
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