#[non_exhaustive]pub enum CreditNoteRefundType {
PaymentRecordRefund,
Refund,
Unknown(String),
}Expand description
Type of the refund, one of refund or payment_record_refund.
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.
PaymentRecordRefund
Refund
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreditNoteRefundType
impl Clone for CreditNoteRefundType
Source§fn clone(&self) -> CreditNoteRefundType
fn clone(&self) -> CreditNoteRefundType
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 CreditNoteRefundType
impl Debug for CreditNoteRefundType
Source§impl Deserialize for CreditNoteRefundType
impl Deserialize for CreditNoteRefundType
Source§impl Display for CreditNoteRefundType
impl Display for CreditNoteRefundType
Source§impl FromStr for CreditNoteRefundType
impl FromStr for CreditNoteRefundType
Source§impl FromValueOpt for CreditNoteRefundType
impl FromValueOpt for CreditNoteRefundType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CreditNoteRefundType
impl PartialEq for CreditNoteRefundType
impl Eq for CreditNoteRefundType
impl StructuralPartialEq for CreditNoteRefundType
Auto Trait Implementations§
impl Freeze for CreditNoteRefundType
impl RefUnwindSafe for CreditNoteRefundType
impl Send for CreditNoteRefundType
impl Sync for CreditNoteRefundType
impl Unpin for CreditNoteRefundType
impl UnwindSafe for CreditNoteRefundType
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