pub struct ContainerTransferBase {
pub source_batch_id: Option<String>,
pub transfer_quantity: Option<ContainerQuantity>,
pub transfer_volume: Option<DeprecatedContainerVolumeForInput>,
pub source_container_id: Option<String>,
pub source_entity_id: Option<String>,
}
Fields§
§source_batch_id: Option<String>
ID of the batch that will be transferred in. Must specify one of sourceEntityId, sourceBatchId, or sourceContainerId.
transfer_quantity: Option<ContainerQuantity>
This represents the quantity of the source to be transferred into the destination container. Supports mass, volume, and other quantities. Required in place of transferVolume.
transfer_volume: Option<DeprecatedContainerVolumeForInput>
Deprecated - use transferQuantity instead.
source_container_id: Option<String>
ID of the container that will be transferred in. Must specify one of sourceEntityId, sourceBatchId, or sourceContainerId.
source_entity_id: Option<String>
ID of the entity that will be transferred in. Must specify one of sourceEntityId, sourceBatchId, or sourceContainerId.
Trait Implementations§
Source§impl Debug for ContainerTransferBase
impl Debug for ContainerTransferBase
Source§impl<'de> Deserialize<'de> for ContainerTransferBase
impl<'de> Deserialize<'de> for ContainerTransferBase
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 Display for ContainerTransferBase
impl Display for ContainerTransferBase
Auto Trait Implementations§
impl Freeze for ContainerTransferBase
impl RefUnwindSafe for ContainerTransferBase
impl Send for ContainerTransferBase
impl Sync for ContainerTransferBase
impl Unpin for ContainerTransferBase
impl UnwindSafe for ContainerTransferBase
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