pub struct Customer<'a> {
pub c_custkey: i64,
pub c_name: CustomerName,
pub c_address: RandomAlphaNumericInstance,
pub c_nationkey: i64,
pub c_phone: PhoneNumberInstance,
pub c_acctbal: TPCHDecimal,
pub c_mktsegment: &'a str,
pub c_comment: &'a str,
}Expand description
The CUSTOMER table
The Display trait is implemented to format the line item data as a string in the default TPC-H ‘tbl’ format.
1|Customer#000000001|IVhzIApeRb ot,c,E|15|25-989-741-2988|711.56|BUILDING|to the even, regular platelets. regular, ironic epitaphs nag e|
2|Customer#000000002|XSTf4,NCwDVaWNe6tEgvwfmRchLXak|13|23-768-687-3665|121.65|AUTOMOBILE|l accounts. blithely ironic theodolites integrate boldly: caref|Fields§
§c_custkey: i64Primary key
c_name: CustomerNameCustomer name
c_address: RandomAlphaNumericInstanceCustomer address
c_nationkey: i64Foreign key to NATION
c_phone: PhoneNumberInstanceCustomer phone number
c_acctbal: TPCHDecimalCustomer account balance
c_mktsegment: &'a strCustomer market segment
c_comment: &'a strVariable length comment
Trait Implementations§
impl<'a> StructuralPartialEq for Customer<'a>
Auto Trait Implementations§
impl<'a> Freeze for Customer<'a>
impl<'a> RefUnwindSafe for Customer<'a>
impl<'a> Send for Customer<'a>
impl<'a> Sync for Customer<'a>
impl<'a> Unpin for Customer<'a>
impl<'a> UnwindSafe for Customer<'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