Struct google_api_proto::google::ads::googleads::v16::common::AffiliateLocationFeedItem
source · pub struct AffiliateLocationFeedItem {
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>,
pub chain_id: Option<i64>,
pub chain_name: Option<String>,
}
Expand description
Represents an affiliate 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.
chain_id: Option<i64>
Id of the retail chain that is advertised as a seller of your product.
chain_name: Option<String>
Name of chain.
Implementations§
source§impl AffiliateLocationFeedItem
impl AffiliateLocationFeedItem
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.
sourcepub fn chain_id(&self) -> i64
pub fn chain_id(&self) -> i64
Returns the value of chain_id
, or the default value if chain_id
is unset.
sourcepub fn chain_name(&self) -> &str
pub fn chain_name(&self) -> &str
Returns the value of chain_name
, or the default value if chain_name
is unset.
Trait Implementations§
source§impl Clone for AffiliateLocationFeedItem
impl Clone for AffiliateLocationFeedItem
source§fn clone(&self) -> AffiliateLocationFeedItem
fn clone(&self) -> AffiliateLocationFeedItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AffiliateLocationFeedItem
impl Debug for AffiliateLocationFeedItem
source§impl Default for AffiliateLocationFeedItem
impl Default for AffiliateLocationFeedItem
source§impl Message for AffiliateLocationFeedItem
impl Message for AffiliateLocationFeedItem
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 AffiliateLocationFeedItem
impl PartialEq for AffiliateLocationFeedItem
source§fn eq(&self, other: &AffiliateLocationFeedItem) -> bool
fn eq(&self, other: &AffiliateLocationFeedItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AffiliateLocationFeedItem
Auto Trait Implementations§
impl Freeze for AffiliateLocationFeedItem
impl RefUnwindSafe for AffiliateLocationFeedItem
impl Send for AffiliateLocationFeedItem
impl Sync for AffiliateLocationFeedItem
impl Unpin for AffiliateLocationFeedItem
impl UnwindSafe for AffiliateLocationFeedItem
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