pub struct CustomerShipping {
pub address: OptionalFieldsCustomerAddress,
pub name: String,
pub phone: Option<String>,
}
Fields§
§address: OptionalFieldsCustomerAddress
Customer shipping address.
name: String
Customer name.
phone: Option<String>
Customer phone (including extension).
Implementations§
Trait Implementations§
Source§impl Clone for CustomerShipping
impl Clone for CustomerShipping
Source§fn clone(&self) -> CustomerShipping
fn clone(&self) -> CustomerShipping
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 CustomerShipping
impl Debug for CustomerShipping
Auto Trait Implementations§
impl Freeze for CustomerShipping
impl RefUnwindSafe for CustomerShipping
impl Send for CustomerShipping
impl Sync for CustomerShipping
impl Unpin for CustomerShipping
impl UnwindSafe for CustomerShipping
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