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
ChangeAllowed
Use both change and non-change outputs (default)
OnlyChange
Only use change outputs (see TxBuilder::only_spend_change
)
ChangeForbidden
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