pub struct EthereumMPTProof {
pub tx_hash: [u8; 32],
pub receipt_root: [u8; 32],
pub receipt_rlp: Vec<u8>,
pub merkle_nodes: Vec<Vec<u8>>,
pub block_header: Vec<u8>,
pub log_index: u64,
pub confirmations: u64,
}Expand description
Ethereum MPT proof of receipt inclusion in state.
Fields§
§tx_hash: [u8; 32]Transaction hash
receipt_root: [u8; 32]Receipt root hash
receipt_rlp: Vec<u8>RLP-encoded receipt
merkle_nodes: Vec<Vec<u8>>MPT proof nodes
block_header: Vec<u8>Serialized block header
log_index: u64Log index in the receipt
confirmations: u64Number of confirmations
Trait Implementations§
Source§impl Clone for EthereumMPTProof
impl Clone for EthereumMPTProof
Source§fn clone(&self) -> EthereumMPTProof
fn clone(&self) -> EthereumMPTProof
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 EthereumMPTProof
impl Debug for EthereumMPTProof
Source§impl<'de> Deserialize<'de> for EthereumMPTProof
impl<'de> Deserialize<'de> for EthereumMPTProof
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 EthereumMPTProof
impl PartialEq for EthereumMPTProof
Source§impl Serialize for EthereumMPTProof
impl Serialize for EthereumMPTProof
impl Eq for EthereumMPTProof
impl StructuralPartialEq for EthereumMPTProof
Auto Trait Implementations§
impl Freeze for EthereumMPTProof
impl RefUnwindSafe for EthereumMPTProof
impl Send for EthereumMPTProof
impl Sync for EthereumMPTProof
impl Unpin for EthereumMPTProof
impl UnsafeUnpin for EthereumMPTProof
impl UnwindSafe for EthereumMPTProof
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