pub struct Backorder {Show 17 fields
pub id: Uuid,
pub backorder_number: String,
pub order_id: Uuid,
pub order_line_id: Option<Uuid>,
pub customer_id: Uuid,
pub sku: String,
pub quantity_ordered: Decimal,
pub quantity_fulfilled: Decimal,
pub quantity_remaining: Decimal,
pub status: BackorderStatus,
pub priority: BackorderPriority,
pub expected_date: Option<DateTime<Utc>>,
pub promised_date: Option<DateTime<Utc>>,
pub source_location_id: Option<i32>,
pub notes: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A backorder record.
Fields§
§id: Uuid§backorder_number: String§order_id: Uuid§order_line_id: Option<Uuid>§customer_id: Uuid§sku: String§quantity_ordered: Decimal§quantity_fulfilled: Decimal§quantity_remaining: Decimal§status: BackorderStatus§priority: BackorderPriority§expected_date: Option<DateTime<Utc>>§promised_date: Option<DateTime<Utc>>§source_location_id: Option<i32>§notes: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Backorder
impl<'de> Deserialize<'de> for Backorder
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Backorder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Backorder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Backorder
impl Serialize for Backorder
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Backorder
impl RefUnwindSafe for Backorder
impl Send for Backorder
impl Sync for Backorder
impl Unpin for Backorder
impl UnsafeUnpin for Backorder
impl UnwindSafe for Backorder
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