pub struct BoostPostRequestTargeting {
pub age_min: Option<i32>,
pub age_max: Option<i32>,
pub countries: Option<Vec<String>>,
pub interests: Option<Vec<UpdateAdRequestTargetingInterestsInner>>,
}Fields§
§age_min: Option<i32>§age_max: Option<i32>§countries: Option<Vec<String>>§interests: Option<Vec<UpdateAdRequestTargetingInterestsInner>>Interest objects from /v1/ads/interests. Each must include id and name.
Implementations§
Source§impl BoostPostRequestTargeting
impl BoostPostRequestTargeting
pub fn new() -> BoostPostRequestTargeting
Trait Implementations§
Source§impl Clone for BoostPostRequestTargeting
impl Clone for BoostPostRequestTargeting
Source§fn clone(&self) -> BoostPostRequestTargeting
fn clone(&self) -> BoostPostRequestTargeting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoostPostRequestTargeting
impl Debug for BoostPostRequestTargeting
Source§impl Default for BoostPostRequestTargeting
impl Default for BoostPostRequestTargeting
Source§fn default() -> BoostPostRequestTargeting
fn default() -> BoostPostRequestTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoostPostRequestTargeting
impl<'de> Deserialize<'de> for BoostPostRequestTargeting
Source§fn 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
impl StructuralPartialEq for BoostPostRequestTargeting
Auto Trait Implementations§
impl Freeze for BoostPostRequestTargeting
impl RefUnwindSafe for BoostPostRequestTargeting
impl Send for BoostPostRequestTargeting
impl Sync for BoostPostRequestTargeting
impl Unpin for BoostPostRequestTargeting
impl UnsafeUnpin for BoostPostRequestTargeting
impl UnwindSafe for BoostPostRequestTargeting
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more