Struct bitcoind_json_rpc_types::model::GetTxOut
source · pub struct GetTxOut {
pub best_block: BlockHash,
pub confirmations: u64,
pub tx_out: TxOut,
pub address: Address<NetworkUnchecked>,
pub coinbase: bool,
}Expand description
Models the result of JSON-RPC method gettxout.
Fields§
§best_block: BlockHashThe hash of the block at the tip of the chain.
confirmations: u64The number of confirmations.
tx_out: TxOutThe returned TxOut (strongly typed).
address: Address<NetworkUnchecked>Address that tx_out spends to.
coinbase: boolCoinbase or not.
Trait Implementations§
source§impl<'de> Deserialize<'de> for GetTxOut
impl<'de> Deserialize<'de> for GetTxOut
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 GetTxOut
impl PartialEq for GetTxOut
impl Eq for GetTxOut
impl StructuralPartialEq for GetTxOut
Auto Trait Implementations§
impl Freeze for GetTxOut
impl RefUnwindSafe for GetTxOut
impl Send for GetTxOut
impl Sync for GetTxOut
impl Unpin for GetTxOut
impl UnwindSafe for GetTxOut
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