pub struct Customer {
pub customer_number: Option<String>,
pub name: String,
pub address1: String,
pub address2: Option<String>,
pub zip_code: String,
pub city: String,
pub country_code: String,
pub comments: Option<String>,
pub email: Option<String>,
pub phone1: Option<String>,
}Fields§
§customer_number: Option<String>§name: String§address1: String§address2: Option<String>§zip_code: String§city: String§country_code: String§comments: Option<String>§email: Option<String>§phone1: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Customer
impl<'de> Deserialize<'de> for Customer
Source§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 Freeze for Customer
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnwindSafe for Customer
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