Struct bitcoin_coinselect::InputCoin
source · pub struct InputCoin { /* private fields */ }
Expand description
| A UTXO under consideration for use in | funding a new transaction. |
Implementations§
source§impl InputCoin
impl InputCoin
pub fn new_with_txref(tx: &TransactionRef, i: u32) -> Self
pub fn new_with_txref_and_input_bytes( tx: &TransactionRef, i: u32, input_bytes: i32 ) -> Self
pub fn new_wth_outpoint(outpoint_in: &OutPoint, txout_in: &TxOut) -> Self
pub fn new_with_input_bytes( outpoint_in: &OutPoint, txout_in: &TxOut, input_bytes: i32 ) -> Self
Trait Implementations§
source§impl Ord for InputCoin
impl Ord for InputCoin
source§impl PartialEq<InputCoin> for InputCoin
impl PartialEq<InputCoin> for InputCoin
source§impl PartialOrd<InputCoin> for InputCoin
impl PartialOrd<InputCoin> for InputCoin
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for InputCoin
Auto Trait Implementations§
impl RefUnwindSafe for InputCoin
impl Send for InputCoin
impl Sync for InputCoin
impl Unpin for InputCoin
impl UnwindSafe for InputCoin
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more