pub struct StateCheckpointTransaction {
pub version: String,
pub hash: String,
pub state_change_hash: String,
pub event_root_hash: String,
pub state_checkpoint_hash: Option<String>,
pub gas_used: String,
pub success: bool,
pub vm_status: String,
pub accumulator_root_hash: String,
pub changes: Vec<WriteSetChange>,
pub timestamp: String,
}Expand description
StateCheckpointTransaction : A state checkpoint transaction
Fields§
§version: StringA string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
hash: String§state_change_hash: String§event_root_hash: String§state_checkpoint_hash: Option<String>§gas_used: StringA string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
success: boolWhether the transaction was successful
vm_status: StringThe VM status of the transaction, can tell useful information in a failure
accumulator_root_hash: String§changes: Vec<WriteSetChange>Final state of resources changed by the transaction
timestamp: StringA string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.
Implementations§
Trait Implementations§
Source§impl Clone for StateCheckpointTransaction
impl Clone for StateCheckpointTransaction
Source§fn clone(&self) -> StateCheckpointTransaction
fn clone(&self) -> StateCheckpointTransaction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StateCheckpointTransaction
impl Debug for StateCheckpointTransaction
Source§impl Default for StateCheckpointTransaction
impl Default for StateCheckpointTransaction
Source§fn default() -> StateCheckpointTransaction
fn default() -> StateCheckpointTransaction
Source§impl<'de> Deserialize<'de> for StateCheckpointTransaction
impl<'de> Deserialize<'de> for StateCheckpointTransaction
Source§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>,
Source§impl PartialEq for StateCheckpointTransaction
impl PartialEq for StateCheckpointTransaction
Source§fn eq(&self, other: &StateCheckpointTransaction) -> bool
fn eq(&self, other: &StateCheckpointTransaction) -> bool
self and other values to be equal, and is used by ==.