Enum chain_impl_mockchain::transaction::Balance
source · pub enum Balance {
Positive(Value),
Negative(Value),
Zero,
}
Expand description
Amount of the balance in the transaction.
Variants§
Positive(Value)
Balance is positive.
Negative(Value)
Balance is negative, such transaction can’t be valid.
Zero
Balance is zero.
Auto Trait Implementations§
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnwindSafe for Balance
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