pub struct UpdateCustomerRequest<'a> {
pub name: Option<&'a str>,
pub email: Option<&'a str>,
pub additional_emails: Option<Vec<&'a str>>,
pub payment_provider: Option<CustomerPaymentProviderRequest<'a>>,
pub shipping_address: Option<AddressRequest<'a>>,
pub billing_address: Option<AddressRequest<'a>>,
pub tax_id: Option<TaxIdRequest<'a>>,
}Expand description
The subset of Customer used in update requests.
Fields§
§name: Option<&'a str>The full name of the customer.
email: Option<&'a str>A valid email for the customer, to be used for notifications.
additional_emails: Option<Vec<&'a str>>Additional email addresses for this customer.
payment_provider: Option<CustomerPaymentProviderRequest<'a>>The external payments or invoicing solution connected to the customer.
shipping_address: Option<AddressRequest<'a>>The customer’s shipping address.
billing_address: Option<AddressRequest<'a>>The customer’s billing address.
tax_id: Option<TaxIdRequest<'a>>The tax ID details to display on the customer’s invoice.
Trait Implementations§
Source§impl<'a> Clone for UpdateCustomerRequest<'a>
impl<'a> Clone for UpdateCustomerRequest<'a>
Source§fn clone(&self) -> UpdateCustomerRequest<'a>
fn clone(&self) -> UpdateCustomerRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for UpdateCustomerRequest<'a>
impl<'a> Debug for UpdateCustomerRequest<'a>
Source§impl<'a> Default for UpdateCustomerRequest<'a>
impl<'a> Default for UpdateCustomerRequest<'a>
Source§fn default() -> UpdateCustomerRequest<'a>
fn default() -> UpdateCustomerRequest<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for UpdateCustomerRequest<'a>
impl<'a> Hash for UpdateCustomerRequest<'a>
Source§impl<'a> PartialEq for UpdateCustomerRequest<'a>
impl<'a> PartialEq for UpdateCustomerRequest<'a>
Source§impl<'a> Serialize for UpdateCustomerRequest<'a>
impl<'a> Serialize for UpdateCustomerRequest<'a>
impl<'a> Eq for UpdateCustomerRequest<'a>
impl<'a> StructuralPartialEq for UpdateCustomerRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpdateCustomerRequest<'a>
impl<'a> RefUnwindSafe for UpdateCustomerRequest<'a>
impl<'a> Send for UpdateCustomerRequest<'a>
impl<'a> Sync for UpdateCustomerRequest<'a>
impl<'a> Unpin for UpdateCustomerRequest<'a>
impl<'a> UnwindSafe for UpdateCustomerRequest<'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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.