pub struct AptosTransaction {Show 13 fields
pub version: u64,
pub hash: [u8; 32],
pub state_change_hash: [u8; 32],
pub event_root_hash: [u8; 32],
pub state_checkpoint_hash: Option<[u8; 32]>,
pub epoch: u64,
pub round: u64,
pub events: Vec<AptosEvent>,
pub payload: Vec<u8>,
pub success: bool,
pub vm_status: String,
pub gas_used: u64,
pub cumulative_gas_used: u64,
}Expand description
Aptos transaction
Fields§
§version: u64§hash: [u8; 32]§state_change_hash: [u8; 32]§event_root_hash: [u8; 32]§state_checkpoint_hash: Option<[u8; 32]>§epoch: u64§round: u64§events: Vec<AptosEvent>§payload: Vec<u8>§success: bool§vm_status: String§gas_used: u64§cumulative_gas_used: u64Trait Implementations§
Source§impl Clone for AptosTransaction
impl Clone for AptosTransaction
Source§fn clone(&self) -> AptosTransaction
fn clone(&self) -> AptosTransaction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AptosTransaction
impl RefUnwindSafe for AptosTransaction
impl Send for AptosTransaction
impl Sync for AptosTransaction
impl Unpin for AptosTransaction
impl UnsafeUnpin for AptosTransaction
impl UnwindSafe for AptosTransaction
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