pub struct PaymentPagesCheckoutSessionShippingAddressCollection {
pub allowed_countries: Vec<PaymentPagesCheckoutSessionShippingAddressCollectionAllowedCountries>,
}Fields§
§allowed_countries: Vec<PaymentPagesCheckoutSessionShippingAddressCollectionAllowedCountries>An array of two-letter ISO country codes representing which countries Checkout should provide as options for.
shipping locations.
Unsupported country codes: AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionShippingAddressCollection
impl Clone for PaymentPagesCheckoutSessionShippingAddressCollection
Source§fn clone(&self) -> PaymentPagesCheckoutSessionShippingAddressCollection
fn clone(&self) -> PaymentPagesCheckoutSessionShippingAddressCollection
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 FromValueOpt for PaymentPagesCheckoutSessionShippingAddressCollection
impl FromValueOpt for PaymentPagesCheckoutSessionShippingAddressCollection
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionShippingAddressCollection
impl PartialEq for PaymentPagesCheckoutSessionShippingAddressCollection
Source§fn eq(
&self,
other: &PaymentPagesCheckoutSessionShippingAddressCollection,
) -> bool
fn eq( &self, other: &PaymentPagesCheckoutSessionShippingAddressCollection, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionShippingAddressCollection
impl StructuralPartialEq for PaymentPagesCheckoutSessionShippingAddressCollection
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionShippingAddressCollection
impl RefUnwindSafe for PaymentPagesCheckoutSessionShippingAddressCollection
impl Send for PaymentPagesCheckoutSessionShippingAddressCollection
impl Sync for PaymentPagesCheckoutSessionShippingAddressCollection
impl Unpin for PaymentPagesCheckoutSessionShippingAddressCollection
impl UnsafeUnpin for PaymentPagesCheckoutSessionShippingAddressCollection
impl UnwindSafe for PaymentPagesCheckoutSessionShippingAddressCollection
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