pub struct TransactionAndWitnessProof {
pub block_hash: H256,
pub transactions_proof: MerkleProof,
pub witnesses_proof: MerkleProof,
}
Expand description
Merkle proof for transactions’ witnesses in a block.
Fields§
§block_hash: H256
Block hash
transactions_proof: MerkleProof
Merkle proof of all transactions’ hash
witnesses_proof: MerkleProof
Merkle proof of transactions’ witnesses
Trait Implementations§
source§impl Clone for TransactionAndWitnessProof
impl Clone for TransactionAndWitnessProof
source§fn clone(&self) -> TransactionAndWitnessProof
fn clone(&self) -> TransactionAndWitnessProof
Returns a copy 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 TransactionAndWitnessProof
impl Debug for TransactionAndWitnessProof
source§impl Default for TransactionAndWitnessProof
impl Default for TransactionAndWitnessProof
source§fn default() -> TransactionAndWitnessProof
fn default() -> TransactionAndWitnessProof
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransactionAndWitnessProof
impl<'de> Deserialize<'de> for TransactionAndWitnessProof
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 Hash for TransactionAndWitnessProof
impl Hash for TransactionAndWitnessProof
source§impl PartialEq for TransactionAndWitnessProof
impl PartialEq for TransactionAndWitnessProof
source§fn eq(&self, other: &TransactionAndWitnessProof) -> bool
fn eq(&self, other: &TransactionAndWitnessProof) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionAndWitnessProof
impl StructuralEq for TransactionAndWitnessProof
impl StructuralPartialEq for TransactionAndWitnessProof
Auto Trait Implementations§
impl RefUnwindSafe for TransactionAndWitnessProof
impl Send for TransactionAndWitnessProof
impl Sync for TransactionAndWitnessProof
impl Unpin for TransactionAndWitnessProof
impl UnwindSafe for TransactionAndWitnessProof
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