pub struct CreatePaymentLinkShippingAddressCollection {
pub allowed_countries: Vec<CreatePaymentLinkShippingAddressCollectionAllowedCountries>,
}Expand description
Configuration for collecting the customer’s shipping address.
Fields§
§allowed_countries: Vec<CreatePaymentLinkShippingAddressCollectionAllowedCountries>An array of two-letter ISO country codes representing which countries Checkout should provide as options for. shipping locations.
Implementations§
Source§impl CreatePaymentLinkShippingAddressCollection
impl CreatePaymentLinkShippingAddressCollection
pub fn new( allowed_countries: impl Into<Vec<CreatePaymentLinkShippingAddressCollectionAllowedCountries>>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentLinkShippingAddressCollection
impl Clone for CreatePaymentLinkShippingAddressCollection
Source§fn clone(&self) -> CreatePaymentLinkShippingAddressCollection
fn clone(&self) -> CreatePaymentLinkShippingAddressCollection
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 CreatePaymentLinkShippingAddressCollection
impl PartialEq for CreatePaymentLinkShippingAddressCollection
Source§fn eq(&self, other: &CreatePaymentLinkShippingAddressCollection) -> bool
fn eq(&self, other: &CreatePaymentLinkShippingAddressCollection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkShippingAddressCollection
impl StructuralPartialEq for CreatePaymentLinkShippingAddressCollection
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkShippingAddressCollection
impl RefUnwindSafe for CreatePaymentLinkShippingAddressCollection
impl Send for CreatePaymentLinkShippingAddressCollection
impl Sync for CreatePaymentLinkShippingAddressCollection
impl Unpin for CreatePaymentLinkShippingAddressCollection
impl UnsafeUnpin for CreatePaymentLinkShippingAddressCollection
impl UnwindSafe for CreatePaymentLinkShippingAddressCollection
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