pub struct Shipping {
pub first_name: String,
pub last_name: String,
pub company: String,
pub address_1: String,
pub address_2: String,
pub city: String,
pub state: String,
pub postcode: String,
pub country: String,
}
Fields§
§first_name: String
First name.
last_name: String
Last name.
company: String
Company name.
address_1: String
Address line 1
address_2: String
Address line 2
city: String
City name.
state: String
ISO code or name of the state, province or district.
postcode: String
Postal code.
country: String
ISO code of the country.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shipping
impl<'de> Deserialize<'de> for Shipping
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 Shipping
impl RefUnwindSafe for Shipping
impl Send for Shipping
impl Sync for Shipping
impl Unpin for Shipping
impl UnwindSafe for Shipping
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