pub struct InboundPackages {
pub packages_to_inbound: Vec<DistributionPackageQuantity>,
}Expand description
InboundPackages : Represents the packages to inbound.
Fields§
§packages_to_inbound: Vec<DistributionPackageQuantity>List of packages to be inbounded.
Implementations§
Source§impl InboundPackages
impl InboundPackages
Sourcepub fn new(
packages_to_inbound: Vec<DistributionPackageQuantity>,
) -> InboundPackages
pub fn new( packages_to_inbound: Vec<DistributionPackageQuantity>, ) -> InboundPackages
Represents the packages to inbound.
Trait Implementations§
Source§impl Clone for InboundPackages
impl Clone for InboundPackages
Source§fn clone(&self) -> InboundPackages
fn clone(&self) -> InboundPackages
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 InboundPackages
impl Debug for InboundPackages
Source§impl Default for InboundPackages
impl Default for InboundPackages
Source§fn default() -> InboundPackages
fn default() -> InboundPackages
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InboundPackages
impl<'de> Deserialize<'de> for InboundPackages
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 InboundPackages
impl PartialEq for InboundPackages
Source§impl Serialize for InboundPackages
impl Serialize for InboundPackages
impl StructuralPartialEq for InboundPackages
Auto Trait Implementations§
impl Freeze for InboundPackages
impl RefUnwindSafe for InboundPackages
impl Send for InboundPackages
impl Sync for InboundPackages
impl Unpin for InboundPackages
impl UnsafeUnpin for InboundPackages
impl UnwindSafe for InboundPackages
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