Struct google_api_proto::google::shopping::merchant::accounts::v1beta::TransitTable
source · pub struct TransitTable {
pub postal_code_group_names: Vec<String>,
pub transit_time_labels: Vec<String>,
pub rows: Vec<TransitTimeRow>,
}
Expand description
Transit time table, number of business days spent in transit based on row
and column dimensions. Either min_transit_days
, max_transit_days
or
transit_time_table
can be set, but not both.
Fields§
§postal_code_group_names: Vec<String>
Required. A list of region names
[Region.name][google.shopping.merchant.accounts.v1beta.Region.name] . The
last value can be
"all other locations"
. Example:
\["zone 1", "zone 2", "all other locations"\]
. The referred
postal code groups must match the delivery country of the service.
transit_time_labels: Vec<String>
Required. A list of transit time labels. The last value can be
"all other labels"
. Example:
\["food", "electronics", "all other labels"\]
.
rows: Vec<TransitTimeRow>
Required. If there’s only one dimension set of postal_code_group_names
or
transit_time_labels
, there are multiple rows each with one value
for that dimension. If there are two dimensions, each row corresponds to a
postal_code_group_names
, and columns (values) to a
transit_time_labels
.
Trait Implementations§
source§impl Clone for TransitTable
impl Clone for TransitTable
source§fn clone(&self) -> TransitTable
fn clone(&self) -> TransitTable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitTable
impl Debug for TransitTable
source§impl Default for TransitTable
impl Default for TransitTable
source§impl Message for TransitTable
impl Message for TransitTable
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 TransitTable
impl PartialEq for TransitTable
source§fn eq(&self, other: &TransitTable) -> bool
fn eq(&self, other: &TransitTable) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitTable
Auto Trait Implementations§
impl Freeze for TransitTable
impl RefUnwindSafe for TransitTable
impl Send for TransitTable
impl Sync for TransitTable
impl Unpin for TransitTable
impl UnwindSafe for TransitTable
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