pub struct Order<'a> {
pub o_orderkey: i64,
pub o_custkey: i64,
pub o_orderstatus: OrderStatus,
pub o_totalprice: TPCHDecimal,
pub o_orderdate: TPCHDate,
pub o_orderpriority: &'a str,
pub o_clerk: ClerkName,
pub o_shippriority: i32,
pub o_comment: &'a str,
}Expand description
The ORDERS table
The Display trait is implemented to format the line item data as a string in the default TPC-H ‘tbl’ format.
1|37|O|131251.81|1996-01-02|5-LOW|Clerk#000000951|0|nstructions sleep furiously among |
2|79|O|40183.29|1996-12-01|1-URGENT|Clerk#000000880|0| foxes. pending accounts at the pending, silent asymptot|Fields§
§o_orderkey: i64Primary key
o_custkey: i64Foreign key to CUSTOMER
o_orderstatus: OrderStatusOrder status (F=final, O=open, P=pending)
o_totalprice: TPCHDecimalOrder total price
o_orderdate: TPCHDateOrder date
o_orderpriority: &'a strOrder priority
o_clerk: ClerkNameClerk who processed the order.
o_shippriority: i32Order shipping priority
o_comment: &'a strVariable length comment
Trait Implementations§
impl<'a> StructuralPartialEq for Order<'a>
Auto Trait Implementations§
impl<'a> Freeze for Order<'a>
impl<'a> RefUnwindSafe for Order<'a>
impl<'a> Send for Order<'a>
impl<'a> Sync for Order<'a>
impl<'a> Unpin for Order<'a>
impl<'a> UnwindSafe for Order<'a>
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