pub struct Part<'a> {
pub p_partkey: i64,
pub p_name: StringSequenceInstance<'a>,
pub p_mfgr: PartManufacturerName,
pub p_brand: PartBrandName,
pub p_type: &'a str,
pub p_size: i32,
pub p_container: &'a str,
pub p_retailprice: TPCHDecimal,
pub p_comment: &'a str,
}Expand description
The PART table
The Display trait is implemented to format the line item data as a string in the default TPC-H ‘tbl’ format.
1|goldenrod lavender spring chocolate lace|Manufacturer#1|Brand#13|PROMO BURNISHED COPPER|7|JUMBO PKG|901.00|ly. slyly ironi|
2|blush thistle blue yellow saddle|Manufacturer#1|Brand#13|LARGE BRUSHED BRASS|1|LG CASE|902.00|lar accounts amo|Fields§
§p_partkey: i64Primary key
p_name: StringSequenceInstance<'a>Part name
p_mfgr: PartManufacturerNamePart manufacturer.
p_brand: PartBrandNamePart brand.
p_type: &'a strPart type
p_size: i32Part size
p_container: &'a strPart container
p_retailprice: TPCHDecimalPart retail price
p_comment: &'a strVariable length comment
Trait Implementations§
impl<'a> StructuralPartialEq for Part<'a>
Auto Trait Implementations§
impl<'a> Freeze for Part<'a>
impl<'a> RefUnwindSafe for Part<'a>
impl<'a> Send for Part<'a>
impl<'a> Sync for Part<'a>
impl<'a> Unpin for Part<'a>
impl<'a> UnwindSafe for Part<'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