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
sourceimpl Debug for ListUnspentRes
impl Debug for ListUnspentRes
sourceimpl<'de> Deserialize<'de> for ListUnspentRes
impl<'de> Deserialize<'de> for ListUnspentRes
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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more