#[non_exhaustive]pub enum IssuingCardAuthorizationControlsAllowedCardPresences {
NotPresent,
Present,
Unknown(String),
}Expand description
Array of card presence statuses from which authorizations will be allowed.
Possible options are present, not_present.
All other statuses will be blocked.
Cannot be set with blocked_card_presences.
Provide an empty value to unset this control.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotPresent
Present
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for IssuingCardAuthorizationControlsAllowedCardPresences
impl Clone for IssuingCardAuthorizationControlsAllowedCardPresences
Source§fn clone(&self) -> IssuingCardAuthorizationControlsAllowedCardPresences
fn clone(&self) -> IssuingCardAuthorizationControlsAllowedCardPresences
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssuingCardAuthorizationControlsAllowedCardPresences
Available on non-crate feature redact-generated-debug only.
impl Debug for IssuingCardAuthorizationControlsAllowedCardPresences
Available on non-crate feature
redact-generated-debug only.Source§impl FromValueOpt for IssuingCardAuthorizationControlsAllowedCardPresences
impl FromValueOpt for IssuingCardAuthorizationControlsAllowedCardPresences
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for IssuingCardAuthorizationControlsAllowedCardPresences
impl PartialEq for IssuingCardAuthorizationControlsAllowedCardPresences
Source§fn eq(
&self,
other: &IssuingCardAuthorizationControlsAllowedCardPresences,
) -> bool
fn eq( &self, other: &IssuingCardAuthorizationControlsAllowedCardPresences, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IssuingCardAuthorizationControlsAllowedCardPresences
impl StructuralPartialEq for IssuingCardAuthorizationControlsAllowedCardPresences
Auto Trait Implementations§
impl Freeze for IssuingCardAuthorizationControlsAllowedCardPresences
impl RefUnwindSafe for IssuingCardAuthorizationControlsAllowedCardPresences
impl Send for IssuingCardAuthorizationControlsAllowedCardPresences
impl Sync for IssuingCardAuthorizationControlsAllowedCardPresences
impl Unpin for IssuingCardAuthorizationControlsAllowedCardPresences
impl UnsafeUnpin for IssuingCardAuthorizationControlsAllowedCardPresences
impl UnwindSafe for IssuingCardAuthorizationControlsAllowedCardPresences
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