pub struct AffiliateLocationFeedItem {
pub business_name: String,
pub address_line_1: String,
pub address_line_2: String,
pub city: String,
pub province: String,
pub postal_code: String,
pub country_code: String,
pub phone_number: String,
pub chain_id: i64,
pub chain_name: String,
}
Expand description
Represents an affiliate location extension.
Fields§
§business_name: String
The name of the business.
address_line_1: String
Line 1 of the business address.
address_line_2: String
Line 2 of the business address.
city: String
City of the business address.
province: String
Province of the business address.
postal_code: String
Postal code of the business address.
country_code: String
Country code of the business address.
phone_number: String
Phone number of the business.
chain_id: i64
Id of the retail chain that is advertised as a seller of your product.
chain_name: String
Name of chain.
Trait Implementations§
Source§impl Clone for AffiliateLocationFeedItem
impl Clone for AffiliateLocationFeedItem
Source§fn clone(&self) -> AffiliateLocationFeedItem
fn clone(&self) -> AffiliateLocationFeedItem
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 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
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.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
Mutably borrows from an owned value. Read more
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>
Wrap the input message
T
in a tonic::Request