Struct stripe::DeclineChargeOn
source · pub struct DeclineChargeOn {
pub avs_failure: bool,
pub cvc_failure: bool,
}
Fields§
§avs_failure: bool
Whether Stripe automatically declines charges with an incorrect ZIP or postal code.
This setting only applies when a ZIP or postal code is provided and they fail bank verification.
cvc_failure: bool
Whether Stripe automatically declines charges with an incorrect CVC.
This setting only applies when a CVC is provided and it fails bank verification.
Trait Implementations§
source§impl Clone for DeclineChargeOn
impl Clone for DeclineChargeOn
source§fn clone(&self) -> DeclineChargeOn
fn clone(&self) -> DeclineChargeOn
Returns a copy 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 Debug for DeclineChargeOn
impl Debug for DeclineChargeOn
source§impl Default for DeclineChargeOn
impl Default for DeclineChargeOn
source§fn default() -> DeclineChargeOn
fn default() -> DeclineChargeOn
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeclineChargeOn
impl<'de> Deserialize<'de> for DeclineChargeOn
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeclineChargeOn
impl RefUnwindSafe for DeclineChargeOn
impl Send for DeclineChargeOn
impl Sync for DeclineChargeOn
impl Unpin for DeclineChargeOn
impl UnwindSafe for DeclineChargeOn
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