Struct electrum_client::ListUnspentRes
source · pub struct ListUnspentRes {
pub height: usize,
pub tx_hash: Txid,
pub tx_pos: usize,
pub value: u64,
}
Expand description
Response to a script_list_unspent
request.
Fields§
§height: usize
Confirmation height of the transaction that created this output.
tx_hash: Txid
Txid of the transaction
tx_pos: usize
Index of the output in the transaction.
value: u64
Value of the output.
Trait Implementations§
source§impl Clone for ListUnspentRes
impl Clone for ListUnspentRes
source§fn clone(&self) -> ListUnspentRes
fn clone(&self) -> ListUnspentRes
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 ListUnspentRes
impl Debug for ListUnspentRes
source§impl<'de> Deserialize<'de> for ListUnspentRes
impl<'de> Deserialize<'de> for ListUnspentRes
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 ListUnspentRes
impl Send for ListUnspentRes
impl Sync for ListUnspentRes
impl Unpin for ListUnspentRes
impl UnwindSafe for ListUnspentRes
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