pub struct CreateCustomerShipping {
pub address: CreateCustomerShippingAddress,
pub name: String,
pub phone: Option<String>,
}
Fields§
§address: CreateCustomerShippingAddress
Customer shipping address.
name: String
Customer name.
phone: Option<String>
Customer phone (including extension).
Trait Implementations§
source§impl Clone for CreateCustomerShipping
impl Clone for CreateCustomerShipping
source§fn clone(&self) -> CreateCustomerShipping
fn clone(&self) -> CreateCustomerShipping
Returns a copy 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 CreateCustomerShipping
impl Debug for CreateCustomerShipping
source§impl Default for CreateCustomerShipping
impl Default for CreateCustomerShipping
source§fn default() -> CreateCustomerShipping
fn default() -> CreateCustomerShipping
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCustomerShipping
impl<'de> Deserialize<'de> for CreateCustomerShipping
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 RefUnwindSafe for CreateCustomerShipping
impl Send for CreateCustomerShipping
impl Sync for CreateCustomerShipping
impl Unpin for CreateCustomerShipping
impl UnwindSafe for CreateCustomerShipping
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