Struct google_api_proto::google::ads::searchads360::v0::common::UnifiedLocationAsset
source · pub struct UnifiedLocationAsset {
pub place_id: String,
pub business_profile_locations: Vec<BusinessProfileLocation>,
pub location_ownership_type: i32,
}
Expand description
A unified location asset.
Fields§
§place_id: String
Place IDs uniquely identify a place in the Google Places database and on Google Maps. This field is unique for a given customer ID and asset type. See https://developers.google.com/places/web-service/place-id to learn more about Place ID.
business_profile_locations: Vec<BusinessProfileLocation>
The list of business locations for the customer. This will only be returned if the Location Asset is syncing from the Business Profile account. It is possible to have multiple Business Profile listings under the same account that point to the same Place ID.
location_ownership_type: i32
The type of location ownership. If the type is BUSINESS_OWNER, it will be served as a location extension. If the type is AFFILIATE, it will be served as an affiliate location.
Implementations§
source§impl UnifiedLocationAsset
impl UnifiedLocationAsset
sourcepub fn location_ownership_type(&self) -> LocationOwnershipType
pub fn location_ownership_type(&self) -> LocationOwnershipType
Returns the enum value of location_ownership_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_location_ownership_type(&mut self, value: LocationOwnershipType)
pub fn set_location_ownership_type(&mut self, value: LocationOwnershipType)
Sets location_ownership_type
to the provided enum value.
Trait Implementations§
source§impl Clone for UnifiedLocationAsset
impl Clone for UnifiedLocationAsset
source§fn clone(&self) -> UnifiedLocationAsset
fn clone(&self) -> UnifiedLocationAsset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnifiedLocationAsset
impl Debug for UnifiedLocationAsset
source§impl Default for UnifiedLocationAsset
impl Default for UnifiedLocationAsset
source§impl Message for UnifiedLocationAsset
impl Message for UnifiedLocationAsset
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UnifiedLocationAsset
impl PartialEq for UnifiedLocationAsset
source§fn eq(&self, other: &UnifiedLocationAsset) -> bool
fn eq(&self, other: &UnifiedLocationAsset) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnifiedLocationAsset
Auto Trait Implementations§
impl Freeze for UnifiedLocationAsset
impl RefUnwindSafe for UnifiedLocationAsset
impl Send for UnifiedLocationAsset
impl Sync for UnifiedLocationAsset
impl Unpin for UnifiedLocationAsset
impl UnwindSafe for UnifiedLocationAsset
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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