#[non_exhaustive]pub enum RefundPendingReason {
ChargePending,
InsufficientFunds,
Processing,
Unknown(String),
}Expand description
Provides the reason for why the refund is pending.
Possible values are: processing, insufficient_funds, or charge_pending.
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.
ChargePending
InsufficientFunds
Processing
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for RefundPendingReason
impl Clone for RefundPendingReason
Source§fn clone(&self) -> RefundPendingReason
fn clone(&self) -> RefundPendingReason
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 Debug for RefundPendingReason
impl Debug for RefundPendingReason
Source§impl Deserialize for RefundPendingReason
impl Deserialize for RefundPendingReason
Source§impl Display for RefundPendingReason
impl Display for RefundPendingReason
Source§impl FromStr for RefundPendingReason
impl FromStr for RefundPendingReason
Source§impl FromValueOpt for RefundPendingReason
impl FromValueOpt for RefundPendingReason
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for RefundPendingReason
impl PartialEq for RefundPendingReason
impl Eq for RefundPendingReason
impl StructuralPartialEq for RefundPendingReason
Auto Trait Implementations§
impl Freeze for RefundPendingReason
impl RefUnwindSafe for RefundPendingReason
impl Send for RefundPendingReason
impl Sync for RefundPendingReason
impl Unpin for RefundPendingReason
impl UnwindSafe for RefundPendingReason
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