Enum bdk::wallet::tx_builder::ChangeSpendPolicy [−][src]
pub enum ChangeSpendPolicy { ChangeAllowed, OnlyChange, ChangeForbidden, }
Expand description
Policy regarding the use of change outputs when creating a transaction
Variants
Use both change and non-change outputs (default)
Only use change outputs (see TxBuilder::only_spend_change
)
Only use non-change outputs (see TxBuilder::do_not_spend_change
)
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChangeSpendPolicy
impl Send for ChangeSpendPolicy
impl Sync for ChangeSpendPolicy
impl Unpin for ChangeSpendPolicy
impl UnwindSafe for ChangeSpendPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V