pub struct ListUnspentResultEntry {Show 13 fields
pub txid: Txid,
pub vout: u32,
pub address: Option<Address<NetworkUnchecked>>,
pub label: Option<String>,
pub redeem_script: Option<ScriptBuf>,
pub witness_script: Option<ScriptBuf>,
pub script_pub_key: ScriptBuf,
pub amount: Amount,
pub confirmations: u32,
pub spendable: bool,
pub solvable: bool,
pub descriptor: Option<String>,
pub safe: bool,
}
Fields§
§txid: Txid
§vout: u32
§address: Option<Address<NetworkUnchecked>>
§label: Option<String>
§redeem_script: Option<ScriptBuf>
§witness_script: Option<ScriptBuf>
§script_pub_key: ScriptBuf
§amount: Amount
§confirmations: u32
§spendable: bool
§solvable: bool
§descriptor: Option<String>
§safe: bool
Trait Implementations§
source§impl Clone for ListUnspentResultEntry
impl Clone for ListUnspentResultEntry
source§fn clone(&self) -> ListUnspentResultEntry
fn clone(&self) -> ListUnspentResultEntry
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 ListUnspentResultEntry
impl Debug for ListUnspentResultEntry
source§impl<'de> Deserialize<'de> for ListUnspentResultEntry
impl<'de> Deserialize<'de> for ListUnspentResultEntry
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
source§impl PartialEq for ListUnspentResultEntry
impl PartialEq for ListUnspentResultEntry
source§fn eq(&self, other: &ListUnspentResultEntry) -> bool
fn eq(&self, other: &ListUnspentResultEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ListUnspentResultEntry
impl Serialize for ListUnspentResultEntry
impl Eq for ListUnspentResultEntry
impl StructuralPartialEq for ListUnspentResultEntry
Auto Trait Implementations§
impl Freeze for ListUnspentResultEntry
impl RefUnwindSafe for ListUnspentResultEntry
impl Send for ListUnspentResultEntry
impl Sync for ListUnspentResultEntry
impl Unpin for ListUnspentResultEntry
impl UnwindSafe for ListUnspentResultEntry
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