Struct mailchimp_api::types::TargetingSpecs
source · pub struct TargetingSpecs {
pub gender: i64,
pub interests: Vec<FacebookAdsAudienceTargetingSpecsInterests>,
pub locations: Option<FacebookAdsAudienceTargetingSpecsLocations>,
pub max_age: i64,
pub min_age: i64,
}Fields
gender: i64The display order for interests.
interests: Vec<FacebookAdsAudienceTargetingSpecsInterests>locations: Option<FacebookAdsAudienceTargetingSpecsLocations>max_age: i64The display order for interests.
min_age: i64The display order for interests.
Trait Implementations
sourceimpl Clone for TargetingSpecs
impl Clone for TargetingSpecs
sourcefn clone(&self) -> TargetingSpecs
fn clone(&self) -> TargetingSpecs
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 TargetingSpecs
impl Debug for TargetingSpecs
sourceimpl<'de> Deserialize<'de> for TargetingSpecs
impl<'de> Deserialize<'de> for TargetingSpecs
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 TargetingSpecs
impl JsonSchema for TargetingSpecs
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<TargetingSpecs> for TargetingSpecs
impl PartialEq<TargetingSpecs> for TargetingSpecs
sourcefn eq(&self, other: &TargetingSpecs) -> bool
fn eq(&self, other: &TargetingSpecs) -> bool
sourceimpl Serialize for TargetingSpecs
impl Serialize for TargetingSpecs
impl StructuralPartialEq for TargetingSpecs
Auto Trait Implementations
impl RefUnwindSafe for TargetingSpecs
impl Send for TargetingSpecs
impl Sync for TargetingSpecs
impl Unpin for TargetingSpecs
impl UnwindSafe for TargetingSpecs
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