pub struct Customer<'a> {
pub c_custkey: i64,
pub c_name: CustomerName,
pub c_address: RandomAlphaNumericInstance,
pub c_region: &'a str,
pub c_nation: &'a str,
pub c_phone: PhoneNumberInstance,
}Expand description
The CUSTOMER table
The Display trait is implemented to format the line item data as a string in the default SpatialBench ‘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_region: &'a strRegion name
c_nation: &'a strNation name
c_phone: PhoneNumberInstanceCustomer phone number
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> UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more