pub struct WarehouseBasedDeliveryTime {
pub carrier: Option<String>,
pub carrier_service: Option<String>,
pub origin_administrative_area: Option<String>,
pub origin_city: Option<String>,
pub origin_country: Option<String>,
pub origin_postal_code: Option<String>,
pub origin_street_address: Option<String>,
pub warehouse_name: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§carrier: Option<String>
Required. Carrier, such as "UPS"
or "Fedex"
. The list of supported carriers can be retrieved via the listSupportedCarriers
method.
carrier_service: Option<String>
Required. Carrier service, such as "ground"
or "2 days"
. The list of supported services for a carrier can be retrieved via the listSupportedCarriers
method. The name of the service must be in the eddSupportedServices list.
origin_administrative_area: Option<String>
Shipping origin’s state.
origin_city: Option<String>
Shipping origin’s city.
origin_country: Option<String>
Shipping origin’s country represented as a CLDR territory code.
origin_postal_code: Option<String>
Shipping origin.
origin_street_address: Option<String>
Shipping origin’s street address
warehouse_name: Option<String>
The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.
Trait Implementations§
Source§impl Clone for WarehouseBasedDeliveryTime
impl Clone for WarehouseBasedDeliveryTime
Source§fn clone(&self) -> WarehouseBasedDeliveryTime
fn clone(&self) -> WarehouseBasedDeliveryTime
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WarehouseBasedDeliveryTime
impl Debug for WarehouseBasedDeliveryTime
Source§impl Default for WarehouseBasedDeliveryTime
impl Default for WarehouseBasedDeliveryTime
Source§fn default() -> WarehouseBasedDeliveryTime
fn default() -> WarehouseBasedDeliveryTime
Source§impl<'de> Deserialize<'de> for WarehouseBasedDeliveryTime
impl<'de> Deserialize<'de> for WarehouseBasedDeliveryTime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for WarehouseBasedDeliveryTime
Auto Trait Implementations§
impl Freeze for WarehouseBasedDeliveryTime
impl RefUnwindSafe for WarehouseBasedDeliveryTime
impl Send for WarehouseBasedDeliveryTime
impl Sync for WarehouseBasedDeliveryTime
impl Unpin for WarehouseBasedDeliveryTime
impl UnwindSafe for WarehouseBasedDeliveryTime
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more