pub struct TaxAddress {
pub line1: Option<String>,
pub line2: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub postal_code: Option<String>,
pub country: String,
}Expand description
Address for tax jurisdiction determination
Fields§
§line1: Option<String>Street line 1
line2: Option<String>Street line 2
city: Option<String>City
state: Option<String>State/Province/Region
postal_code: Option<String>Postal/ZIP code
country: StringCountry code (ISO 3166-1 alpha-2)
Trait Implementations§
Source§impl Clone for TaxAddress
impl Clone for TaxAddress
Source§fn clone(&self) -> TaxAddress
fn clone(&self) -> TaxAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaxAddress
impl Debug for TaxAddress
Source§impl Default for TaxAddress
impl Default for TaxAddress
Source§fn default() -> TaxAddress
fn default() -> TaxAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaxAddress
impl<'de> Deserialize<'de> for TaxAddress
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaxAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaxAddress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TaxAddress
impl Serialize for TaxAddress
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TaxAddress
impl RefUnwindSafe for TaxAddress
impl Send for TaxAddress
impl Sync for TaxAddress
impl Unpin for TaxAddress
impl UnsafeUnpin for TaxAddress
impl UnwindSafe for TaxAddress
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