#[non_exhaustive]pub enum TaxTransactionLineItemType {
Reversal,
Transaction,
Unknown(String),
}Expand description
If reversal, this line item reverses an earlier transaction.
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.
Reversal
Transaction
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for TaxTransactionLineItemType
impl Clone for TaxTransactionLineItemType
Source§fn clone(&self) -> TaxTransactionLineItemType
fn clone(&self) -> TaxTransactionLineItemType
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 TaxTransactionLineItemType
impl Debug for TaxTransactionLineItemType
Source§impl Display for TaxTransactionLineItemType
impl Display for TaxTransactionLineItemType
Source§impl FromStr for TaxTransactionLineItemType
impl FromStr for TaxTransactionLineItemType
Source§impl FromValueOpt for TaxTransactionLineItemType
impl FromValueOpt for TaxTransactionLineItemType
fn from_value(v: Value) -> Option<Self>
impl Eq for TaxTransactionLineItemType
impl StructuralPartialEq for TaxTransactionLineItemType
Auto Trait Implementations§
impl Freeze for TaxTransactionLineItemType
impl RefUnwindSafe for TaxTransactionLineItemType
impl Send for TaxTransactionLineItemType
impl Sync for TaxTransactionLineItemType
impl Unpin for TaxTransactionLineItemType
impl UnwindSafe for TaxTransactionLineItemType
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