Struct amazon_sp_merchant_fulfillment::models::shipping_service_options::ShippingServiceOptions
source · [−]pub struct ShippingServiceOptions {
pub delivery_experience: DeliveryExperienceType,
pub declared_value: Option<Box<CurrencyAmount>>,
pub carrier_will_pick_up: bool,
pub carrier_will_pick_up_option: Option<CarrierWillPickUpOption>,
pub label_format: Option<LabelFormat>,
}Expand description
ShippingServiceOptions : Extra services provided by a carrier.
Fields
delivery_experience: DeliveryExperienceTypedeclared_value: Option<Box<CurrencyAmount>>carrier_will_pick_up: boolWhen true, the carrier will pick up the package. Note: Scheduled carrier pickup is available only using Dynamex (US), DPD (UK), and Royal Mail (UK).
carrier_will_pick_up_option: Option<CarrierWillPickUpOption>label_format: Option<LabelFormat>Implementations
sourceimpl ShippingServiceOptions
impl ShippingServiceOptions
sourcepub fn new(
delivery_experience: DeliveryExperienceType,
carrier_will_pick_up: bool
) -> ShippingServiceOptions
pub fn new(
delivery_experience: DeliveryExperienceType,
carrier_will_pick_up: bool
) -> ShippingServiceOptions
Extra services provided by a carrier.
Trait Implementations
sourceimpl Clone for ShippingServiceOptions
impl Clone for ShippingServiceOptions
sourcefn clone(&self) -> ShippingServiceOptions
fn clone(&self) -> ShippingServiceOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ShippingServiceOptions
impl Debug for ShippingServiceOptions
sourceimpl Default for ShippingServiceOptions
impl Default for ShippingServiceOptions
sourcefn default() -> ShippingServiceOptions
fn default() -> ShippingServiceOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ShippingServiceOptions
impl<'de> Deserialize<'de> for ShippingServiceOptions
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ShippingServiceOptions> for ShippingServiceOptions
impl PartialEq<ShippingServiceOptions> for ShippingServiceOptions
sourcefn eq(&self, other: &ShippingServiceOptions) -> bool
fn eq(&self, other: &ShippingServiceOptions) -> bool
sourceimpl Serialize for ShippingServiceOptions
impl Serialize for ShippingServiceOptions
impl StructuralPartialEq for ShippingServiceOptions
Auto Trait Implementations
impl RefUnwindSafe for ShippingServiceOptions
impl Send for ShippingServiceOptions
impl Sync for ShippingServiceOptions
impl Unpin for ShippingServiceOptions
impl UnwindSafe for ShippingServiceOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more