Struct amazon_sp_shipping::models::container_item::ContainerItem
source · [−]pub struct ContainerItem {
pub quantity: f32,
pub unit_price: Box<Currency>,
pub unit_weight: Box<Weight>,
pub title: String,
}Expand description
ContainerItem : Item in the container.
Fields
quantity: f32The quantity of the items of this type in the container.
unit_price: Box<Currency>unit_weight: Box<Weight>title: StringA descriptive title of the item.
Implementations
sourceimpl ContainerItem
impl ContainerItem
Trait Implementations
sourceimpl Clone for ContainerItem
impl Clone for ContainerItem
sourcefn clone(&self) -> ContainerItem
fn clone(&self) -> ContainerItem
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 ContainerItem
impl Debug for ContainerItem
sourceimpl Default for ContainerItem
impl Default for ContainerItem
sourcefn default() -> ContainerItem
fn default() -> ContainerItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContainerItem
impl<'de> Deserialize<'de> for ContainerItem
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<ContainerItem> for ContainerItem
impl PartialEq<ContainerItem> for ContainerItem
sourcefn eq(&self, other: &ContainerItem) -> bool
fn eq(&self, other: &ContainerItem) -> bool
sourceimpl Serialize for ContainerItem
impl Serialize for ContainerItem
impl StructuralPartialEq for ContainerItem
Auto Trait Implementations
impl RefUnwindSafe for ContainerItem
impl Send for ContainerItem
impl Sync for ContainerItem
impl Unpin for ContainerItem
impl UnwindSafe for ContainerItem
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