Struct google_displayvideo1::api::LocationList
source · pub struct LocationList {
pub advertiser_id: Option<i64>,
pub display_name: Option<String>,
pub location_list_id: Option<i64>,
pub location_type: Option<String>,
pub name: Option<String>,
}
Expand description
A list of locations used for targeting.
§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).
- location lists create advertisers (request|response)
- location lists get advertisers (response)
- location lists patch advertisers (request|response)
Fields§
§advertiser_id: Option<i64>
Required. Immutable. The unique ID of the advertiser the location list belongs to.
display_name: Option<String>
Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.
location_list_id: Option<i64>
Output only. The unique ID of the location list. Assigned by the system.
location_type: Option<String>
Required. Immutable. The type of location. All locations in the list will share this type.
name: Option<String>
Output only. The resource name of the location list.
Trait Implementations§
source§impl Clone for LocationList
impl Clone for LocationList
source§fn clone(&self) -> LocationList
fn clone(&self) -> LocationList
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 LocationList
impl Debug for LocationList
source§impl Default for LocationList
impl Default for LocationList
source§fn default() -> LocationList
fn default() -> LocationList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocationList
impl<'de> Deserialize<'de> for LocationList
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 LocationList
impl Serialize for LocationList
impl RequestValue for LocationList
impl ResponseResult for LocationList
Auto Trait Implementations§
impl RefUnwindSafe for LocationList
impl Send for LocationList
impl Sync for LocationList
impl Unpin for LocationList
impl UnwindSafe for LocationList
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