pub struct Unspent {
pub txid: String,
pub vout: u32,
pub amount: f64,
pub asset: String,
pub address: String,
pub spendable: bool,
pub confirmations: Option<u32>,
pub scriptpubkey: Option<String>,
pub redeemscript: Option<String>,
pub witnessscript: Option<String>,
pub amountblinder: Option<String>,
pub assetblinder: Option<String>,
}Expand description
UTXO information from Elements node
Fields§
§txid: String§vout: u32§amount: f64§asset: String§address: String§spendable: bool§confirmations: Option<u32>§scriptpubkey: Option<String>§redeemscript: Option<String>§witnessscript: Option<String>§amountblinder: Option<String>Amount blinder for confidential transactions (Elements specific)
assetblinder: Option<String>Asset blinder for confidential transactions (Elements specific)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Unspent
impl<'de> Deserialize<'de> for Unspent
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 Unspent
impl RefUnwindSafe for Unspent
impl Send for Unspent
impl Sync for Unspent
impl Unpin for Unspent
impl UnsafeUnpin for Unspent
impl UnwindSafe for Unspent
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