pub struct CountryTargeting {
pub countries: Option<Vec<String>>,
pub include_rest_of_world: Option<bool>,
}Expand description
Country targeting specification.
This type is not used in any activity, and only used as part of another schema.
Fields§
§countries: Option<Vec<String>>Countries to target, specified as two letter CLDR codes.
include_rest_of_world: Option<bool>Include “rest of world” as well as explicitly targeted countries.
Trait Implementations§
Source§impl Clone for CountryTargeting
impl Clone for CountryTargeting
Source§fn clone(&self) -> CountryTargeting
fn clone(&self) -> CountryTargeting
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 CountryTargeting
impl Debug for CountryTargeting
Source§impl Default for CountryTargeting
impl Default for CountryTargeting
Source§fn default() -> CountryTargeting
fn default() -> CountryTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CountryTargeting
impl<'de> Deserialize<'de> for CountryTargeting
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 Serialize for CountryTargeting
impl Serialize for CountryTargeting
impl Part for CountryTargeting
Auto Trait Implementations§
impl Freeze for CountryTargeting
impl RefUnwindSafe for CountryTargeting
impl Send for CountryTargeting
impl Sync for CountryTargeting
impl Unpin for CountryTargeting
impl UnwindSafe for CountryTargeting
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