pub struct ProfileRegions {
pub notice_contact_consent_requirement_regions: Vec<String>,
pub opt_out_contact_consent_requirement_regions: Vec<String>,
pub regions: Vec<ProfileRegion>,
}Expand description
Container of country/region information
Fields§
§notice_contact_consent_requirement_regions: Vec<String>List of country/region code with contact consent requirement type of notice
opt_out_contact_consent_requirement_regions: Vec<String>List of country/region code with contact consent requirement type of opt-out
regions: Vec<ProfileRegion>List of country/regions
Implementations§
Trait Implementations§
Source§impl Clone for ProfileRegions
impl Clone for ProfileRegions
Source§fn clone(&self) -> ProfileRegions
fn clone(&self) -> ProfileRegions
Returns a copy 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 ProfileRegions
impl Debug for ProfileRegions
Source§impl Default for ProfileRegions
impl Default for ProfileRegions
Source§fn default() -> ProfileRegions
fn default() -> ProfileRegions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileRegions
impl<'de> Deserialize<'de> for ProfileRegions
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 ProfileRegions
impl PartialEq for ProfileRegions
Source§impl Serialize for ProfileRegions
impl Serialize for ProfileRegions
impl StructuralPartialEq for ProfileRegions
Auto Trait Implementations§
impl Freeze for ProfileRegions
impl RefUnwindSafe for ProfileRegions
impl Send for ProfileRegions
impl Sync for ProfileRegions
impl Unpin for ProfileRegions
impl UnwindSafe for ProfileRegions
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