Struct google_dfareporting3d2::api::PostalCode
source · pub struct PostalCode {
pub code: Option<String>,
pub country_code: Option<String>,
pub country_dart_id: Option<i64>,
pub id: Option<String>,
pub kind: Option<String>,
}
Expand description
Contains information about a postal code 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).
- get postal codes (response)
- list postal codes (none)
Fields§
§code: Option<String>
Postal code. This is equivalent to the id field.
country_code: Option<String>
Country code of the country to which this postal code belongs.
country_dart_id: Option<i64>
DART ID of the country to which this postal code belongs.
id: Option<String>
ID of this postal code.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#postalCode”.
Trait Implementations§
source§impl Clone for PostalCode
impl Clone for PostalCode
source§fn clone(&self) -> PostalCode
fn clone(&self) -> PostalCode
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 PostalCode
impl Debug for PostalCode
source§impl Default for PostalCode
impl Default for PostalCode
source§fn default() -> PostalCode
fn default() -> PostalCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PostalCode
impl<'de> Deserialize<'de> for PostalCode
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 Serialize for PostalCode
impl Serialize for PostalCode
impl Resource for PostalCode
impl ResponseResult for PostalCode
Auto Trait Implementations§
impl RefUnwindSafe for PostalCode
impl Send for PostalCode
impl Sync for PostalCode
impl Unpin for PostalCode
impl UnwindSafe for PostalCode
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