pub struct CreateCheckoutSessionPaymentIntentDataShippingAddress {
pub city: Option<String>,
pub country: Option<String>,
pub line1: String,
pub line2: Option<String>,
pub postal_code: Option<String>,
pub state: Option<String>,
}Expand description
Shipping address.
Fields§
§city: Option<String>City, district, suburb, town, or village.
country: Option<String>Two-letter country code (ISO 3166-1 alpha-2).
line1: StringAddress 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).
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl Clone for CreateCheckoutSessionPaymentIntentDataShippingAddress
Source§fn clone(&self) -> CreateCheckoutSessionPaymentIntentDataShippingAddress
fn clone(&self) -> CreateCheckoutSessionPaymentIntentDataShippingAddress
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 moreimpl Eq for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl StructuralPartialEq for CreateCheckoutSessionPaymentIntentDataShippingAddress
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl RefUnwindSafe for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl Send for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl Sync for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl Unpin for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl UnsafeUnpin for CreateCheckoutSessionPaymentIntentDataShippingAddress
impl UnwindSafe for CreateCheckoutSessionPaymentIntentDataShippingAddress
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