pub struct TaxProductResourcePostalAddress {
pub city: Option<String>,
pub country: String,
pub line1: Option<String>,
pub line2: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
}
Fields§
§city: Option<String>
City, district, suburb, town, or village.
country: String
Two-letter country code (ISO 3166-1 alpha-2).
line1: Option<String>
Address line 1 (e.g., street, PO Box, or company name).
line2: Option<String>
Address line 2 (e.g., apartment, suite, unit, or building).
postal_code: Option<String>
ZIP or postal code.
state: Option<String>
State/province as an ISO 3166-2 subdivision code, without country prefix. Example: “NY” or “TX”.
Trait Implementations§
Source§impl Clone for TaxProductResourcePostalAddress
impl Clone for TaxProductResourcePostalAddress
Source§fn clone(&self) -> TaxProductResourcePostalAddress
fn clone(&self) -> TaxProductResourcePostalAddress
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 FromValueOpt for TaxProductResourcePostalAddress
impl FromValueOpt for TaxProductResourcePostalAddress
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourcePostalAddress
impl RefUnwindSafe for TaxProductResourcePostalAddress
impl Send for TaxProductResourcePostalAddress
impl Sync for TaxProductResourcePostalAddress
impl Unpin for TaxProductResourcePostalAddress
impl UnwindSafe for TaxProductResourcePostalAddress
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