pub struct TransactionProof {
pub version: u64,
pub transaction_hash: [u8; 32],
pub block_height: u64,
pub success: bool,
pub accumulator_proof: Vec<u8>,
}Expand description
Transaction proof containing the verified transaction data.
Fields§
§version: u64Transaction version
transaction_hash: [u8; 32]Transaction hash
block_height: u64Block height containing the transaction
success: boolWhether the transaction was successful
accumulator_proof: Vec<u8>Merkle proof bytes against accumulator root
Implementations§
Trait Implementations§
Source§impl Clone for TransactionProof
impl Clone for TransactionProof
Source§fn clone(&self) -> TransactionProof
fn clone(&self) -> TransactionProof
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 moreSource§impl Debug for TransactionProof
impl Debug for TransactionProof
Source§impl<'de> Deserialize<'de> for TransactionProof
impl<'de> Deserialize<'de> for TransactionProof
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionProof
impl PartialEq for TransactionProof
Source§impl Serialize for TransactionProof
impl Serialize for TransactionProof
impl Eq for TransactionProof
impl StructuralPartialEq for TransactionProof
Auto Trait Implementations§
impl Freeze for TransactionProof
impl RefUnwindSafe for TransactionProof
impl Send for TransactionProof
impl Sync for TransactionProof
impl Unpin for TransactionProof
impl UnsafeUnpin for TransactionProof
impl UnwindSafe for TransactionProof
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.