Struct google_dfareporting2d8::api::Country
source · pub struct Country {
pub country_code: Option<String>,
pub dart_id: Option<i64>,
pub kind: Option<String>,
pub name: Option<String>,
pub ssl_enabled: Option<bool>,
}
Expand description
Contains information about a country 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 countries (response)
Fields§
§country_code: Option<String>
Country code.
dart_id: Option<i64>
DART ID of this country. 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#country”.
name: Option<String>
Name of this country.
ssl_enabled: Option<bool>
Whether ad serving supports secure servers in this country.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Country
impl<'de> Deserialize<'de> for Country
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 ResponseResult for Country
Auto Trait Implementations§
impl RefUnwindSafe for Country
impl Send for Country
impl Sync for Country
impl Unpin for Country
impl UnwindSafe for Country
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