Struct sbanken::models::customer::Customer [−][src]
pub struct Customer {
pub customer_id: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email_address: Option<String>,
pub date_of_birth: Option<String>,
pub postal_address: Option<Box<Address>>,
pub street_address: Option<Box<Address>>,
pub phone_numbers: Option<Vec<PhoneNumber>>,
}
Fields
customer_id: Option<String>
first_name: Option<String>
last_name: Option<String>
email_address: Option<String>
date_of_birth: Option<String>
postal_address: Option<Box<Address>>
street_address: Option<Box<Address>>
phone_numbers: Option<Vec<PhoneNumber>>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Customer
impl UnwindSafe for Customer
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more