pub struct UserCountriesTargeting {
pub country_codes: Option<Vec<String>>,
pub exclude: Option<bool>,
}Expand description
Describes an inclusive/exclusive list of country codes that module targets.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country_codes: Option<Vec<String>>List of country codes in the two-letter CLDR territory format.
exclude: Option<bool>Indicates if the list above is exclusive.
Trait Implementations§
Source§impl Clone for UserCountriesTargeting
impl Clone for UserCountriesTargeting
Source§fn clone(&self) -> UserCountriesTargeting
fn clone(&self) -> UserCountriesTargeting
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 UserCountriesTargeting
impl Debug for UserCountriesTargeting
Source§impl Default for UserCountriesTargeting
impl Default for UserCountriesTargeting
Source§fn default() -> UserCountriesTargeting
fn default() -> UserCountriesTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserCountriesTargeting
impl<'de> Deserialize<'de> for UserCountriesTargeting
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 UserCountriesTargeting
impl Serialize for UserCountriesTargeting
impl Part for UserCountriesTargeting
Auto Trait Implementations§
impl Freeze for UserCountriesTargeting
impl RefUnwindSafe for UserCountriesTargeting
impl Send for UserCountriesTargeting
impl Sync for UserCountriesTargeting
impl Unpin for UserCountriesTargeting
impl UnwindSafe for UserCountriesTargeting
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