pub struct BuyerAddress {
pub buyer_country: Option<String>,
pub buyer_postcode: Option<String>,
pub buyer_state: Option<String>,
}Expand description
Address information for the customer, for use in tax computation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§buyer_country: Option<String>Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes).
buyer_postcode: Option<String>Postal code of an address. When Google is the Merchant of Record for the order, this information is not included.
buyer_state: Option<String>Top-level administrative subdivision of the buyer address country. When Google is the Merchant of Record for the order, this information is not included.
Trait Implementations§
Source§impl Clone for BuyerAddress
impl Clone for BuyerAddress
Source§fn clone(&self) -> BuyerAddress
fn clone(&self) -> BuyerAddress
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 BuyerAddress
impl Debug for BuyerAddress
Source§impl Default for BuyerAddress
impl Default for BuyerAddress
Source§fn default() -> BuyerAddress
fn default() -> BuyerAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BuyerAddress
impl<'de> Deserialize<'de> for BuyerAddress
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
Source§impl Serialize for BuyerAddress
impl Serialize for BuyerAddress
impl Part for BuyerAddress
Auto Trait Implementations§
impl Freeze for BuyerAddress
impl RefUnwindSafe for BuyerAddress
impl Send for BuyerAddress
impl Sync for BuyerAddress
impl Unpin for BuyerAddress
impl UnwindSafe for BuyerAddress
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