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 Freeze for City
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more