pub struct UtxoStatus {
pub confirmed: bool,
pub block_height: Option<u32>,
pub block_hash: Option<String>,
pub block_time: Option<u64>,
}Expand description
Represents the status of a UTXO
Fields§
§confirmed: boolWhether the UTXO has been confirmed in a block
block_height: Option<u32>The height of the block containing the UTXO, if confirmed
block_hash: Option<String>The hash of the block containing the UTXO, if confirmed
block_time: Option<u64>The timestamp of the block containing the UTXO, if confirmed
Trait Implementations§
Source§impl Debug for UtxoStatus
impl Debug for UtxoStatus
Source§impl<'de> Deserialize<'de> for UtxoStatus
impl<'de> Deserialize<'de> for UtxoStatus
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 UtxoStatus
impl RefUnwindSafe for UtxoStatus
impl Send for UtxoStatus
impl Sync for UtxoStatus
impl Unpin for UtxoStatus
impl UnwindSafe for UtxoStatus
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