pub struct CustomerPatchInput {Show 15 fields
pub id: String,
pub name: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
pub mobile: Option<String>,
pub fax: Option<String>,
pub toll_free: Option<String>,
pub website: Option<String>,
pub display_id: Option<String>,
pub internal_notes: Option<String>,
pub address: Option<AddressInput>,
pub currency: Option<CurrencyCode>,
pub shipping_details: Option<CustomerShippingDetailsInput>,
}Expand description
Input for patching a customer.
Fields§
§id: String§name: Option<String>§first_name: Option<String>§last_name: Option<String>§email: Option<String>§phone: Option<String>§mobile: Option<String>§fax: Option<String>§toll_free: Option<String>§website: Option<String>§display_id: Option<String>§internal_notes: Option<String>§address: Option<AddressInput>§currency: Option<CurrencyCode>§shipping_details: Option<CustomerShippingDetailsInput>Implementations§
Trait Implementations§
Source§impl Clone for CustomerPatchInput
impl Clone for CustomerPatchInput
Source§fn clone(&self) -> CustomerPatchInput
fn clone(&self) -> CustomerPatchInput
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 Debug for CustomerPatchInput
impl Debug for CustomerPatchInput
Auto Trait Implementations§
impl Freeze for CustomerPatchInput
impl RefUnwindSafe for CustomerPatchInput
impl Send for CustomerPatchInput
impl Sync for CustomerPatchInput
impl Unpin for CustomerPatchInput
impl UnsafeUnpin for CustomerPatchInput
impl UnwindSafe for CustomerPatchInput
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