Struct google_dfareporting3d3::api::City
source · pub struct City {
pub country_code: Option<String>,
pub country_dart_id: Option<i64>,
pub dart_id: Option<i64>,
pub kind: Option<String>,
pub metro_code: Option<String>,
pub metro_dma_id: Option<i64>,
pub name: Option<String>,
pub region_code: Option<String>,
pub region_dart_id: Option<i64>,
}
Expand description
Contains information about a city that can be targeted by ads.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country_code: Option<String>
Country code of the country to which this city belongs.
country_dart_id: Option<i64>
DART ID of the country to which this city belongs.
dart_id: Option<i64>
DART ID of this city. This is the ID used for targeting and generating reports.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#city”.
metro_code: Option<String>
Metro region code of the metro region (DMA) to which this city belongs.
metro_dma_id: Option<i64>
ID of the metro region (DMA) to which this city belongs.
name: Option<String>
Name of this city.
region_code: Option<String>
Region code of the region to which this city belongs.
region_dart_id: Option<i64>
DART ID of the region to which this city belongs.
Trait Implementations§
source§impl<'de> Deserialize<'de> for City
impl<'de> Deserialize<'de> for City
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
impl Part for City
Auto Trait Implementations§
impl RefUnwindSafe for City
impl Send for City
impl Sync for City
impl Unpin for City
impl UnwindSafe for City
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