Struct electrum_client::GetMerkleRes
source · pub struct GetMerkleRes {
pub block_height: usize,
pub pos: usize,
pub merkle: Vec<[u8; 32]>,
}
Expand description
Response to a transaction_get_merkle
request.
Fields§
§block_height: usize
Height of the block that confirmed the transaction
pos: usize
Position in the block of the transaction.
merkle: Vec<[u8; 32]>
The merkle path of the transaction.
Trait Implementations§
source§impl Clone for GetMerkleRes
impl Clone for GetMerkleRes
source§fn clone(&self) -> GetMerkleRes
fn clone(&self) -> GetMerkleRes
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 GetMerkleRes
impl Debug for GetMerkleRes
source§impl<'de> Deserialize<'de> for GetMerkleRes
impl<'de> Deserialize<'de> for GetMerkleRes
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
Auto Trait Implementations§
impl RefUnwindSafe for GetMerkleRes
impl Send for GetMerkleRes
impl Sync for GetMerkleRes
impl Unpin for GetMerkleRes
impl UnwindSafe for GetMerkleRes
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