pub enum PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked {
AmericanExpress,
DiscoverGlobalNetwork,
Mastercard,
Visa,
}
Expand description
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.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Clone for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Source§fn clone(
&self,
) -> PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
fn clone( &self, ) -> PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
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 Deserialize for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Deserialize for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Source§impl Display for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Display for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Source§impl FromStr for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl FromStr for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Source§impl FromValueOpt for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl FromValueOpt for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl PartialEq for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Source§fn eq(
&self,
other: &PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked,
) -> bool
fn eq( &self, other: &PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Eq for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl StructuralPartialEq for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
Auto Trait Implementations§
impl Freeze for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl RefUnwindSafe for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Send for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Sync for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl Unpin for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
impl UnwindSafe for PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictionsBrandsBlocked
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