pub struct BillingAddressAttributes {
pub address_1: Option<String>,
pub address_2: Option<String>,
pub city: Option<String>,
pub country: Option<String>,
pub locality: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
pub customer_id: Option<Box<String>>,
}Fields§
§address_1: Option<String>The first address line.
address_2: Option<String>The second address line.
city: Option<String>The city name.
country: Option<String>ISO 3166-1 two-letter country code.
locality: Option<String>Other locality.
postal_code: Option<String>Postal code (ZIP code for US addresses).
state: Option<String>The state or province name.
customer_id: Option<Box<String>>Implementations§
source§impl BillingAddressAttributes
impl BillingAddressAttributes
pub fn new() -> BillingAddressAttributes
Trait Implementations§
source§impl Clone for BillingAddressAttributes
impl Clone for BillingAddressAttributes
source§fn clone(&self) -> BillingAddressAttributes
fn clone(&self) -> BillingAddressAttributes
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 BillingAddressAttributes
impl Debug for BillingAddressAttributes
source§impl Default for BillingAddressAttributes
impl Default for BillingAddressAttributes
source§fn default() -> BillingAddressAttributes
fn default() -> BillingAddressAttributes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingAddressAttributes
impl<'de> Deserialize<'de> for BillingAddressAttributes
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 PartialEq<BillingAddressAttributes> for BillingAddressAttributes
impl PartialEq<BillingAddressAttributes> for BillingAddressAttributes
source§fn eq(&self, other: &BillingAddressAttributes) -> bool
fn eq(&self, other: &BillingAddressAttributes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.