Struct near_primitives::errors::BalanceMismatchError
source · [−]pub struct BalanceMismatchError {
pub incoming_validator_rewards: Balance,
pub initial_accounts_balance: Balance,
pub incoming_receipts_balance: Balance,
pub processed_delayed_receipts_balance: Balance,
pub initial_postponed_receipts_balance: Balance,
pub final_accounts_balance: Balance,
pub outgoing_receipts_balance: Balance,
pub new_delayed_receipts_balance: Balance,
pub final_postponed_receipts_balance: Balance,
pub tx_burnt_amount: Balance,
pub slashed_burnt_amount: Balance,
pub other_burnt_amount: Balance,
}Expand description
Happens when the input balance doesn’t match the output balance in Runtime apply.
Fields
incoming_validator_rewards: Balanceinitial_accounts_balance: Balanceincoming_receipts_balance: Balanceprocessed_delayed_receipts_balance: Balanceinitial_postponed_receipts_balance: Balancefinal_accounts_balance: Balanceoutgoing_receipts_balance: Balancenew_delayed_receipts_balance: Balancefinal_postponed_receipts_balance: Balancetx_burnt_amount: Balanceslashed_burnt_amount: Balanceother_burnt_amount: BalanceTrait Implementations
sourceimpl BorshDeserialize for BalanceMismatchErrorwhere
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
impl BorshDeserialize for BalanceMismatchErrorwhere
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
Balance: BorshDeserialize,
sourceimpl BorshSerialize for BalanceMismatchErrorwhere
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
impl BorshSerialize for BalanceMismatchErrorwhere
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
Balance: BorshSerialize,
sourceimpl Clone for BalanceMismatchError
impl Clone for BalanceMismatchError
sourcefn clone(&self) -> BalanceMismatchError
fn clone(&self) -> BalanceMismatchError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BalanceMismatchError
impl Debug for BalanceMismatchError
sourceimpl<'de> Deserialize<'de> for BalanceMismatchError
impl<'de> Deserialize<'de> for BalanceMismatchError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for BalanceMismatchError
impl Display for BalanceMismatchError
sourceimpl Error for BalanceMismatchError
impl Error for BalanceMismatchError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<BalanceMismatchError> for RuntimeError
impl From<BalanceMismatchError> for RuntimeError
sourcefn from(e: BalanceMismatchError) -> Self
fn from(e: BalanceMismatchError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<BalanceMismatchError> for BalanceMismatchError
impl PartialEq<BalanceMismatchError> for BalanceMismatchError
sourcefn eq(&self, other: &BalanceMismatchError) -> bool
fn eq(&self, other: &BalanceMismatchError) -> bool
sourceimpl Serialize for BalanceMismatchError
impl Serialize for BalanceMismatchError
impl Eq for BalanceMismatchError
impl StructuralEq for BalanceMismatchError
impl StructuralPartialEq for BalanceMismatchError
Auto Trait Implementations
impl RefUnwindSafe for BalanceMismatchError
impl Send for BalanceMismatchError
impl Sync for BalanceMismatchError
impl Unpin for BalanceMismatchError
impl UnwindSafe for BalanceMismatchError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more