Struct google_api_proto::google::ads::googleads::v16::common::LocationFeedItem
source · pub struct LocationFeedItem {
pub business_name: Option<String>,
pub address_line_1: Option<String>,
pub address_line_2: Option<String>,
pub city: Option<String>,
pub province: Option<String>,
pub postal_code: Option<String>,
pub country_code: Option<String>,
pub phone_number: Option<String>,
}
Expand description
Represents a location extension.
Fields§
§business_name: Option<String>
The name of the business.
address_line_1: Option<String>
Line 1 of the business address.
address_line_2: Option<String>
Line 2 of the business address.
city: Option<String>
City of the business address.
province: Option<String>
Province of the business address.
postal_code: Option<String>
Postal code of the business address.
country_code: Option<String>
Country code of the business address.
phone_number: Option<String>
Phone number of the business.
Implementations§
source§impl LocationFeedItem
impl LocationFeedItem
sourcepub fn business_name(&self) -> &str
pub fn business_name(&self) -> &str
Returns the value of business_name
, or the default value if business_name
is unset.
sourcepub fn address_line_1(&self) -> &str
pub fn address_line_1(&self) -> &str
Returns the value of address_line_1
, or the default value if address_line_1
is unset.
sourcepub fn address_line_2(&self) -> &str
pub fn address_line_2(&self) -> &str
Returns the value of address_line_2
, or the default value if address_line_2
is unset.
sourcepub fn province(&self) -> &str
pub fn province(&self) -> &str
Returns the value of province
, or the default value if province
is unset.
sourcepub fn postal_code(&self) -> &str
pub fn postal_code(&self) -> &str
Returns the value of postal_code
, or the default value if postal_code
is unset.
sourcepub fn country_code(&self) -> &str
pub fn country_code(&self) -> &str
Returns the value of country_code
, or the default value if country_code
is unset.
sourcepub fn phone_number(&self) -> &str
pub fn phone_number(&self) -> &str
Returns the value of phone_number
, or the default value if phone_number
is unset.
Trait Implementations§
source§impl Clone for LocationFeedItem
impl Clone for LocationFeedItem
source§fn clone(&self) -> LocationFeedItem
fn clone(&self) -> LocationFeedItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationFeedItem
impl Debug for LocationFeedItem
source§impl Default for LocationFeedItem
impl Default for LocationFeedItem
source§impl Message for LocationFeedItem
impl Message for LocationFeedItem
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 LocationFeedItem
impl PartialEq for LocationFeedItem
source§fn eq(&self, other: &LocationFeedItem) -> bool
fn eq(&self, other: &LocationFeedItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationFeedItem
Auto Trait Implementations§
impl Freeze for LocationFeedItem
impl RefUnwindSafe for LocationFeedItem
impl Send for LocationFeedItem
impl Sync for LocationFeedItem
impl Unpin for LocationFeedItem
impl UnwindSafe for LocationFeedItem
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