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