pub struct GetMempoolRes {
pub height: i32,
pub tx_hash: Txid,
pub fee: u64,
}
Expand description
Response to a script_list_unspent
request.
Fields§
§height: i32
0 if all inputs are confirmed, and -1 otherwise.
tx_hash: Txid
The transaction hash in hexadecimal.
fee: u64
The transaction fee in minimum coin units (satoshis).
Trait Implementations§
Source§impl Clone for GetMempoolRes
impl Clone for GetMempoolRes
Source§fn clone(&self) -> GetMempoolRes
fn clone(&self) -> GetMempoolRes
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 GetMempoolRes
impl Debug for GetMempoolRes
Source§impl<'de> Deserialize<'de> for GetMempoolRes
impl<'de> Deserialize<'de> for GetMempoolRes
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 Freeze for GetMempoolRes
impl RefUnwindSafe for GetMempoolRes
impl Send for GetMempoolRes
impl Sync for GetMempoolRes
impl Unpin for GetMempoolRes
impl UnwindSafe for GetMempoolRes
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