Struct floresta_cli::rpc_types::TxOut
source · pub struct TxOut {
pub value: u64,
pub n: u32,
pub script_pub_key: ScriptPubKey,
}
Expand description
A transaction output returned by some RPCs like getrawtransaction and getblock
Fields§
§value: u64
The amount in sats locked in this UTXO
n: u32
This utxo’s index inside the transaction
script_pub_key: ScriptPubKey
The loking script of this utxo
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxOut
impl<'de> Deserialize<'de> for TxOut
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 TxOut
impl Send for TxOut
impl Sync for TxOut
impl Unpin for TxOut
impl UnwindSafe for TxOut
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