pub enum TransferKind {
TopUp,
Consume,
Capture,
Expire,
Adjust,
Refund,
}Variants§
TopUp
Credits in, from system:topup.
Consume
Credits spent, to system:consumption.
Capture
A hold being captured. Same direction as Consume, kept distinct so
the history says which.
Expire
Credits that ran out, to system:expiry.
Adjust
A correction by an operator. Either direction.
Refund
Credits given back, from system:consumption.
Implementations§
Trait Implementations§
Source§impl Clone for TransferKind
impl Clone for TransferKind
impl Copy for TransferKind
Source§impl Debug for TransferKind
impl Debug for TransferKind
impl Eq for TransferKind
Source§impl Hash for TransferKind
impl Hash for TransferKind
Source§impl PartialEq for TransferKind
impl PartialEq for TransferKind
impl StructuralPartialEq for TransferKind
Auto Trait Implementations§
impl Freeze for TransferKind
impl RefUnwindSafe for TransferKind
impl Send for TransferKind
impl Sync for TransferKind
impl Unpin for TransferKind
impl UnsafeUnpin for TransferKind
impl UnwindSafe for TransferKind
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