Struct near_primitives::errors::ActionError [−][src]
pub struct ActionError {
pub index: Option<u64>,
pub kind: ActionErrorKind,
}Expand description
An error happened during Acton execution
Fields
index: Option<u64>Index of the failed action in the transaction.
Action index is not defined if ActionError.kind is ActionErrorKind::LackBalanceForState
kind: ActionErrorKindThe kind of ActionError happened
Trait Implementations
impl BorshDeserialize for ActionError where
Option<u64>: BorshDeserialize,
ActionErrorKind: BorshDeserialize,
impl BorshDeserialize for ActionError where
Option<u64>: BorshDeserialize,
ActionErrorKind: BorshDeserialize,
impl BorshSerialize for ActionError where
Option<u64>: BorshSerialize,
ActionErrorKind: BorshSerialize,
impl BorshSerialize for ActionError where
Option<u64>: BorshSerialize,
ActionErrorKind: BorshSerialize,
fn 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
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnwindSafe for ActionError
Blanket Implementations
Mutably borrows from an owned value. Read more