Struct bitcoin_coinselect::OutputGroup
source · pub struct OutputGroup { /* private fields */ }
Expand description
| A group of UTXOs paid to the same output | script. |
Implementations§
source§impl OutputGroup
impl OutputGroup
pub fn insert( &mut self, output: &InputCoin, depth: i32, from_me: bool, ancestors: usize, descendants: usize, positive_only: bool )
pub fn eligible_for_spending( &self, eligibility_filter: &CoinEligibilityFilter ) -> bool
pub fn get_selection_amount(&self) -> Amount
Trait Implementations§
source§impl Default for OutputGroup
impl Default for OutputGroup
source§fn default() -> OutputGroup
fn default() -> OutputGroup
Returns the “default value” for a type. Read more
source§impl From<&CoinSelectionParams> for OutputGroup
impl From<&CoinSelectionParams> for OutputGroup
source§fn from(params: &CoinSelectionParams) -> Self
fn from(params: &CoinSelectionParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OutputGroup
impl Send for OutputGroup
impl Sync for OutputGroup
impl Unpin for OutputGroup
impl UnwindSafe for OutputGroup
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§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