pub struct GroupPlacementView {
pub resource_name: String,
pub placement: String,
pub display_name: String,
pub target_url: String,
pub placement_type: i32,
}
Expand description
A group placement view.
Fields§
§resource_name: String
Output only. The resource name of the group placement view. Group placement view resource names have the form:
customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}
placement: String
Output only. The automatic placement string at group level, e. g. web domain, mobile app ID, or a YouTube channel ID.
display_name: String
Output only. Domain name for websites and YouTube channel name for YouTube channels.
target_url: String
Output only. URL of the group placement, for example, domain, link to the mobile application in app store, or a YouTube channel URL.
placement_type: i32
Output only. Type of the placement, for example, Website, YouTube Channel, Mobile Application.
Implementations§
Source§impl GroupPlacementView
impl GroupPlacementView
Sourcepub fn placement_type(&self) -> PlacementType
pub fn placement_type(&self) -> PlacementType
Returns the enum value of placement_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_placement_type(&mut self, value: PlacementType)
pub fn set_placement_type(&mut self, value: PlacementType)
Sets placement_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for GroupPlacementView
impl Clone for GroupPlacementView
Source§fn clone(&self) -> GroupPlacementView
fn clone(&self) -> GroupPlacementView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GroupPlacementView
impl Debug for GroupPlacementView
Source§impl Default for GroupPlacementView
impl Default for GroupPlacementView
Source§impl Message for GroupPlacementView
impl Message for GroupPlacementView
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for GroupPlacementView
impl PartialEq for GroupPlacementView
impl StructuralPartialEq for GroupPlacementView
Auto Trait Implementations§
impl Freeze for GroupPlacementView
impl RefUnwindSafe for GroupPlacementView
impl Send for GroupPlacementView
impl Sync for GroupPlacementView
impl Unpin for GroupPlacementView
impl UnwindSafe for GroupPlacementView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request