pub struct ReceivingBox {
pub arrived_date: Option<DateTime<Utc>>,
pub box_items: Vec<ReceivingBoxItem>,
pub box_number: i64,
pub box_status: Option<ReceivingBoxStatus>,
pub counting_started_date: Option<DateTime<Utc>>,
pub received_date: Option<DateTime<Utc>>,
pub tracking_number: String,
}Expand description
Information about a box shipment included in a receiving order
Fields§
§arrived_date: Option<DateTime<Utc>>Expiration date for this lot
box_items: Vec<ReceivingBoxItem>Information about the items included in the box
box_number: i64Information about a box shipment included in a receiving order
box_status: Option<ReceivingBoxStatus>Information about a box shipment included in a receiving order
counting_started_date: Option<DateTime<Utc>>Expiration date for this lot
received_date: Option<DateTime<Utc>>Expiration date for this lot
tracking_number: StringName of the channel
Trait Implementations§
Source§impl Clone for ReceivingBox
impl Clone for ReceivingBox
Source§fn clone(&self) -> ReceivingBox
fn clone(&self) -> ReceivingBox
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 ReceivingBox
impl Debug for ReceivingBox
Source§impl<'de> Deserialize<'de> for ReceivingBox
impl<'de> Deserialize<'de> for ReceivingBox
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 JsonSchema for ReceivingBox
impl JsonSchema for ReceivingBox
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReceivingBox
impl PartialEq for ReceivingBox
Source§impl Serialize for ReceivingBox
impl Serialize for ReceivingBox
impl StructuralPartialEq for ReceivingBox
Auto Trait Implementations§
impl Freeze for ReceivingBox
impl RefUnwindSafe for ReceivingBox
impl Send for ReceivingBox
impl Sync for ReceivingBox
impl Unpin for ReceivingBox
impl UnwindSafe for ReceivingBox
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