Struct core_rpc_json::ListUnspentResultEntry
source · 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<ListUnspentResultEntry> for ListUnspentResultEntry
impl PartialEq<ListUnspentResultEntry> 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 ==
.