pub struct GetTxOut {
pub best_block: BlockHash,
pub confirmations: i64,
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: i64The number of confirmations (signed to match other types with the same field name).
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
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