pub struct PaymentsPrimitivesPaymentRecordsResourceAddress {
pub city: Option<String>,
pub country: Option<String>,
pub line1: Option<String>,
pub line2: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
}Expand description
A representation of a physical address.
Fields§
§city: Option<String>City, district, suburb, town, or village.
country: Option<String>Two-letter country code (ISO 3166-1 alpha-2).
line1: Option<String>Address line 1, such as the street, PO Box, or company name.
line2: Option<String>Address line 2, such as the apartment, suite, unit, or building.
postal_code: Option<String>ZIP or postal code.
state: Option<String>State, county, province, or region (ISO 3166-2).
Trait Implementations§
Source§impl Clone for PaymentsPrimitivesPaymentRecordsResourceAddress
impl Clone for PaymentsPrimitivesPaymentRecordsResourceAddress
Source§fn clone(&self) -> PaymentsPrimitivesPaymentRecordsResourceAddress
fn clone(&self) -> PaymentsPrimitivesPaymentRecordsResourceAddress
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 PartialEq for PaymentsPrimitivesPaymentRecordsResourceAddress
impl PartialEq for PaymentsPrimitivesPaymentRecordsResourceAddress
Source§fn eq(&self, other: &PaymentsPrimitivesPaymentRecordsResourceAddress) -> bool
fn eq(&self, other: &PaymentsPrimitivesPaymentRecordsResourceAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentsPrimitivesPaymentRecordsResourceAddress
impl StructuralPartialEq for PaymentsPrimitivesPaymentRecordsResourceAddress
Auto Trait Implementations§
impl Freeze for PaymentsPrimitivesPaymentRecordsResourceAddress
impl RefUnwindSafe for PaymentsPrimitivesPaymentRecordsResourceAddress
impl Send for PaymentsPrimitivesPaymentRecordsResourceAddress
impl Sync for PaymentsPrimitivesPaymentRecordsResourceAddress
impl Unpin for PaymentsPrimitivesPaymentRecordsResourceAddress
impl UnsafeUnpin for PaymentsPrimitivesPaymentRecordsResourceAddress
impl UnwindSafe for PaymentsPrimitivesPaymentRecordsResourceAddress
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