pub struct UserCountrySet {
pub country_codes: Option<Vec<String>>,
pub name: Option<String>,
}Expand description
A set of user countries. A country set determines what variation of app content gets served to a specific location.
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 representing countries. A Country code is represented in ISO 3166 alpha-2 format. For Example:- “IT” for Italy, “GE” for Georgia.
name: Option<String>Country set name.
Trait Implementations§
Source§impl Clone for UserCountrySet
impl Clone for UserCountrySet
Source§fn clone(&self) -> UserCountrySet
fn clone(&self) -> UserCountrySet
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 UserCountrySet
impl Debug for UserCountrySet
Source§impl Default for UserCountrySet
impl Default for UserCountrySet
Source§fn default() -> UserCountrySet
fn default() -> UserCountrySet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserCountrySet
impl<'de> Deserialize<'de> for UserCountrySet
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 UserCountrySet
impl Serialize for UserCountrySet
impl Part for UserCountrySet
Auto Trait Implementations§
impl Freeze for UserCountrySet
impl RefUnwindSafe for UserCountrySet
impl Send for UserCountrySet
impl Sync for UserCountrySet
impl Unpin for UserCountrySet
impl UnwindSafe for UserCountrySet
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