pub struct UnspentInput {
pub tx_hash: Option<String>,
pub index: Option<f64>,
}
Expand description
UnspentInput : A representation of an Unspent Transaction Output (UTXO).
Fields§
§tx_hash: Option<String>
Transaction Hash
index: Option<f64>
The UTXO index (vOut)
Implementations§
Source§impl UnspentInput
impl UnspentInput
Sourcepub fn new() -> UnspentInput
pub fn new() -> UnspentInput
A representation of an Unspent Transaction Output (UTXO).
Trait Implementations§
Source§impl Clone for UnspentInput
impl Clone for UnspentInput
Source§fn clone(&self) -> UnspentInput
fn clone(&self) -> UnspentInput
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnspentInput
impl Debug for UnspentInput
Source§impl Default for UnspentInput
impl Default for UnspentInput
Source§fn default() -> UnspentInput
fn default() -> UnspentInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnspentInput
impl<'de> Deserialize<'de> for UnspentInput
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 UnspentInput
impl PartialEq for UnspentInput
Source§impl Serialize for UnspentInput
impl Serialize for UnspentInput
impl StructuralPartialEq for UnspentInput
Auto Trait Implementations§
impl Freeze for UnspentInput
impl RefUnwindSafe for UnspentInput
impl Send for UnspentInput
impl Sync for UnspentInput
impl Unpin for UnspentInput
impl UnwindSafe for UnspentInput
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