pub struct CreateCheckoutSessionShippingAddressCollection {
pub allowed_countries: Vec<CreateCheckoutSessionShippingAddressCollectionAllowedCountries>,
}
Fields§
§allowed_countries: Vec<CreateCheckoutSessionShippingAddressCollectionAllowedCountries>
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, SD, SY, UM, VI
.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionShippingAddressCollection
impl Clone for CreateCheckoutSessionShippingAddressCollection
source§fn clone(&self) -> CreateCheckoutSessionShippingAddressCollection
fn clone(&self) -> CreateCheckoutSessionShippingAddressCollection
Returns a copy 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 Default for CreateCheckoutSessionShippingAddressCollection
impl Default for CreateCheckoutSessionShippingAddressCollection
source§fn default() -> CreateCheckoutSessionShippingAddressCollection
fn default() -> CreateCheckoutSessionShippingAddressCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionShippingAddressCollection
impl<'de> Deserialize<'de> for CreateCheckoutSessionShippingAddressCollection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionShippingAddressCollection
impl RefUnwindSafe for CreateCheckoutSessionShippingAddressCollection
impl Send for CreateCheckoutSessionShippingAddressCollection
impl Sync for CreateCheckoutSessionShippingAddressCollection
impl Unpin for CreateCheckoutSessionShippingAddressCollection
impl UnwindSafe for CreateCheckoutSessionShippingAddressCollection
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