pub struct BoxContentsFeeDetails {
pub total_units: Option<i32>,
pub fee_per_unit: Option<Box<Amount>>,
pub total_fee: Option<Box<Amount>>,
}Expand description
BoxContentsFeeDetails : The manual processing fee per unit and total fee for a shipment.
Fields§
§total_units: Option<i32>The item quantity.
fee_per_unit: Option<Box<Amount>>§total_fee: Option<Box<Amount>>Implementations§
Source§impl BoxContentsFeeDetails
impl BoxContentsFeeDetails
Sourcepub fn new() -> BoxContentsFeeDetails
pub fn new() -> BoxContentsFeeDetails
The manual processing fee per unit and total fee for a shipment.
Trait Implementations§
Source§impl Clone for BoxContentsFeeDetails
impl Clone for BoxContentsFeeDetails
Source§fn clone(&self) -> BoxContentsFeeDetails
fn clone(&self) -> BoxContentsFeeDetails
Returns a duplicate 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 BoxContentsFeeDetails
impl Debug for BoxContentsFeeDetails
Source§impl Default for BoxContentsFeeDetails
impl Default for BoxContentsFeeDetails
Source§fn default() -> BoxContentsFeeDetails
fn default() -> BoxContentsFeeDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxContentsFeeDetails
impl<'de> Deserialize<'de> for BoxContentsFeeDetails
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BoxContentsFeeDetails
impl PartialEq for BoxContentsFeeDetails
Source§impl Serialize for BoxContentsFeeDetails
impl Serialize for BoxContentsFeeDetails
impl StructuralPartialEq for BoxContentsFeeDetails
Auto Trait Implementations§
impl Freeze for BoxContentsFeeDetails
impl RefUnwindSafe for BoxContentsFeeDetails
impl Send for BoxContentsFeeDetails
impl Sync for BoxContentsFeeDetails
impl Unpin for BoxContentsFeeDetails
impl UnwindSafe for BoxContentsFeeDetails
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