Struct ckb_jsonrpc_types::TransactionProof
source · pub struct TransactionProof {
pub block_hash: H256,
pub witnesses_root: H256,
pub proof: MerkleProof,
}Expand description
Merkle proof for transactions in a block.
Fields§
§block_hash: H256Block hash
witnesses_root: H256Merkle root of all transactions’ witness hash
proof: MerkleProofMerkle proof of all transactions’ hash
Trait Implementations§
source§impl Clone for TransactionProof
impl Clone for TransactionProof
source§fn clone(&self) -> TransactionProof
fn clone(&self) -> TransactionProof
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 TransactionProof
impl Debug for TransactionProof
source§impl Default for TransactionProof
impl Default for TransactionProof
source§fn default() -> TransactionProof
fn default() -> TransactionProof
Returns the “default value” for a type. Read more
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 Hash for TransactionProof
impl Hash for TransactionProof
source§impl PartialEq<TransactionProof> for TransactionProof
impl PartialEq<TransactionProof> for TransactionProof
source§fn eq(&self, other: &TransactionProof) -> bool
fn eq(&self, other: &TransactionProof) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TransactionProof
impl Serialize for TransactionProof
impl Eq for TransactionProof
impl StructuralEq for TransactionProof
impl StructuralPartialEq for TransactionProof
Auto Trait Implementations§
impl RefUnwindSafe for TransactionProof
impl Send for TransactionProof
impl Sync for TransactionProof
impl Unpin 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