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: H256
Block hash
witnesses_root: H256
Merkle root of all transactions’ witness hash
proof: MerkleProof
Merkle proof of all transactions’ hash
Trait Implementations
sourceimpl Clone for TransactionProof
impl Clone for TransactionProof
sourcefn clone(&self) -> TransactionProof
fn clone(&self) -> TransactionProof
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TransactionProof
impl Debug for TransactionProof
sourceimpl Default for TransactionProof
impl Default for TransactionProof
sourcefn default() -> TransactionProof
fn default() -> TransactionProof
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TransactionProof
impl<'de> Deserialize<'de> for TransactionProof
sourcefn 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
sourceimpl Hash for TransactionProof
impl Hash for TransactionProof
sourceimpl PartialEq<TransactionProof> for TransactionProof
impl PartialEq<TransactionProof> for TransactionProof
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TransactionProof) -> bool
fn ne(&self, other: &TransactionProof) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more