pub struct UpdateAdRequestTargeting {
pub age_min: Option<i32>,
pub age_max: Option<i32>,
pub countries: Option<Vec<String>>,
pub interests: Option<Vec<UpdateAdRequestTargetingInterestsInner>>,
}Expand description
UpdateAdRequestTargeting : Meta-only. Targeting updates for other platforms are not supported after creation.
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 UpdateAdRequestTargeting
impl UpdateAdRequestTargeting
Sourcepub fn new() -> UpdateAdRequestTargeting
pub fn new() -> UpdateAdRequestTargeting
Meta-only. Targeting updates for other platforms are not supported after creation.
Trait Implementations§
Source§impl Clone for UpdateAdRequestTargeting
impl Clone for UpdateAdRequestTargeting
Source§fn clone(&self) -> UpdateAdRequestTargeting
fn clone(&self) -> UpdateAdRequestTargeting
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 UpdateAdRequestTargeting
impl Debug for UpdateAdRequestTargeting
Source§impl Default for UpdateAdRequestTargeting
impl Default for UpdateAdRequestTargeting
Source§fn default() -> UpdateAdRequestTargeting
fn default() -> UpdateAdRequestTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAdRequestTargeting
impl<'de> Deserialize<'de> for UpdateAdRequestTargeting
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
Source§impl PartialEq for UpdateAdRequestTargeting
impl PartialEq for UpdateAdRequestTargeting
Source§impl Serialize for UpdateAdRequestTargeting
impl Serialize for UpdateAdRequestTargeting
impl StructuralPartialEq for UpdateAdRequestTargeting
Auto Trait Implementations§
impl Freeze for UpdateAdRequestTargeting
impl RefUnwindSafe for UpdateAdRequestTargeting
impl Send for UpdateAdRequestTargeting
impl Sync for UpdateAdRequestTargeting
impl Unpin for UpdateAdRequestTargeting
impl UnsafeUnpin for UpdateAdRequestTargeting
impl UnwindSafe for UpdateAdRequestTargeting
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