pub enum TotalKind {
Charge,
Discount,
Tax,
}Expand description
Which of a batch’s declared totals a discrepancy is about.
Variants§
Implementations§
Trait Implementations§
impl Copy for TotalKind
impl Eq for TotalKind
Source§impl Ord for TotalKind
impl Ord for TotalKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TotalKind
impl PartialOrd for TotalKind
impl StructuralPartialEq for TotalKind
Auto Trait Implementations§
impl Freeze for TotalKind
impl RefUnwindSafe for TotalKind
impl Send for TotalKind
impl Sync for TotalKind
impl Unpin for TotalKind
impl UnsafeUnpin for TotalKind
impl UnwindSafe for TotalKind
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