pub struct PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions {
pub brands_blocked: Option<Vec<PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked>>,
}
Fields§
§brands_blocked: Option<Vec<PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked>>
Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can’t complete the Session.
Trait Implementations§
Source§impl Clone for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl Clone for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
Source§fn clone(
&self,
) -> PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
fn clone( &self, ) -> PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
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 FromValueOpt for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl FromValueOpt for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl RefUnwindSafe for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl Send for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl Sync for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl Unpin for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
impl UnwindSafe for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions
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