pub struct Metro {
pub kind: Option<String>,
pub country_dart_id: Option<String>,
pub name: Option<String>,
pub country_code: Option<String>,
pub metro_code: Option<String>,
pub dart_id: Option<String>,
pub dma_id: Option<String>,
}Expand description
Contains information about a metro region that can be targeted by ads.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list metros (none)
Fields§
§kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “dfareporting#metro”.
country_dart_id: Option<String>DART ID of the country to which this metro region belongs.
name: Option<String>Name of this metro region.
country_code: Option<String>Country code of the country to which this metro region belongs.
metro_code: Option<String>Metro code of this metro region. This is equivalent to dma_id.
dart_id: Option<String>DART ID of this metro region.
dma_id: Option<String>DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metro
impl<'de> Deserialize<'de> for Metro
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 Resource for Metro
Auto Trait Implementations§
impl Freeze for Metro
impl RefUnwindSafe for Metro
impl Send for Metro
impl Sync for Metro
impl Unpin for Metro
impl UnwindSafe for Metro
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> 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