Struct google_dfareporting3::api::City[][src]

pub struct City {
    pub country_code: Option<String>,
    pub country_dart_id: Option<String>,
    pub dart_id: Option<String>,
    pub kind: Option<String>,
    pub metro_code: Option<String>,
    pub metro_dma_id: Option<String>,
    pub name: Option<String>,
    pub region_code: Option<String>,
    pub region_dart_id: Option<String>,
}
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<String>

DART ID of the country to which this city belongs.

dart_id: Option<String>

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<String>

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<String>

DART ID of the region to which this city belongs.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.