Struct amazon_sp_merchant_fulfillment::models::available_carrier_will_pick_up_option::AvailableCarrierWillPickUpOption
source · [−]pub struct AvailableCarrierWillPickUpOption {
pub carrier_will_pick_up_option: CarrierWillPickUpOption,
pub charge: Box<CurrencyAmount>,
}Expand description
AvailableCarrierWillPickUpOption : Indicates whether the carrier will pick up the package, and what fee is charged, if any.
Fields
carrier_will_pick_up_option: CarrierWillPickUpOptioncharge: Box<CurrencyAmount>Implementations
sourceimpl AvailableCarrierWillPickUpOption
impl AvailableCarrierWillPickUpOption
sourcepub fn new(
carrier_will_pick_up_option: CarrierWillPickUpOption,
charge: CurrencyAmount
) -> AvailableCarrierWillPickUpOption
pub fn new(
carrier_will_pick_up_option: CarrierWillPickUpOption,
charge: CurrencyAmount
) -> AvailableCarrierWillPickUpOption
Indicates whether the carrier will pick up the package, and what fee is charged, if any.
Trait Implementations
sourceimpl Clone for AvailableCarrierWillPickUpOption
impl Clone for AvailableCarrierWillPickUpOption
sourcefn clone(&self) -> AvailableCarrierWillPickUpOption
fn clone(&self) -> AvailableCarrierWillPickUpOption
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 Default for AvailableCarrierWillPickUpOption
impl Default for AvailableCarrierWillPickUpOption
sourcefn default() -> AvailableCarrierWillPickUpOption
fn default() -> AvailableCarrierWillPickUpOption
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AvailableCarrierWillPickUpOption
impl<'de> Deserialize<'de> for AvailableCarrierWillPickUpOption
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<AvailableCarrierWillPickUpOption> for AvailableCarrierWillPickUpOption
impl PartialEq<AvailableCarrierWillPickUpOption> for AvailableCarrierWillPickUpOption
sourcefn eq(&self, other: &AvailableCarrierWillPickUpOption) -> bool
fn eq(&self, other: &AvailableCarrierWillPickUpOption) -> bool
impl StructuralPartialEq for AvailableCarrierWillPickUpOption
Auto Trait Implementations
impl RefUnwindSafe for AvailableCarrierWillPickUpOption
impl Send for AvailableCarrierWillPickUpOption
impl Sync for AvailableCarrierWillPickUpOption
impl Unpin for AvailableCarrierWillPickUpOption
impl UnwindSafe for AvailableCarrierWillPickUpOption
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