pub struct Customer {Show 15 fields
pub id: Option<String>,
pub customer_number: Option<String>,
pub corporate_identity_number: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
pub mobile_phone: Option<String>,
pub website: Option<String>,
pub invoice_address: Option<Address>,
pub delivery_address: Option<Address>,
pub payment_terms_in_days: Option<u32>,
pub is_active: Option<bool>,
pub is_private_person: Option<bool>,
pub created_utc: Option<DateTime<Utc>>,
pub modified_utc: Option<DateTime<Utc>>,
}Expand description
Customer in the eAccounting system.
Fields§
§id: Option<String>Unique identifier.
customer_number: Option<String>Customer number.
corporate_identity_number: Option<String>Corporate identity number (organization number).
name: Option<String>Customer name.
email: Option<String>Email address.
phone: Option<String>Phone number.
mobile_phone: Option<String>Mobile phone number.
website: Option<String>Website URL.
invoice_address: Option<Address>Invoice address.
delivery_address: Option<Address>Delivery address.
payment_terms_in_days: Option<u32>Payment terms in days.
is_active: Option<bool>Whether the customer is active.
is_private_person: Option<bool>Whether the customer is private (person).
created_utc: Option<DateTime<Utc>>When the customer was created.
modified_utc: Option<DateTime<Utc>>When the customer was last modified.
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