Struct p2wsh_utxo::UTXO
source · [−]pub struct UTXO {
pub block_height: u32,
pub id: Option<String>,
pub block_index: u16,
pub transaction_index: u16,
pub amount: Option<usize>,
}
Expand description
UTXO represents an Unspent transaction Output.
id
or amount
might not be filled in if the
results were generated with minimized data.
Fields
block_height: u32
id: Option<String>
block_index: u16
transaction_index: u16
amount: Option<usize>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for UTXO
impl<'de> Deserialize<'de> for UTXO
sourcefn 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 StructuralPartialEq for UTXO
Auto Trait Implementations
impl RefUnwindSafe for UTXO
impl Send for UTXO
impl Sync for UTXO
impl Unpin for UTXO
impl UnwindSafe for UTXO
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more