Enum solana::transaction::Plan[][src]

pub enum Plan {
    Budget(Budget),
}

The type of payment plan. Each item must implement the PaymentPlan trait.

Variants

The builtin contract language Budget.

Trait Implementations

impl Debug for Plan
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Plan
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Plan
[src]

impl Clone for Plan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PaymentPlan for Plan
[src]

Return Payment if the payment plan requires no additional Witnesses.

Return true if the plan spends exactly spendable_tokens.

Apply a witness to the payment plan to see if the plan can be reduced. If so, modify the plan in-place. Read more

Auto Trait Implementations

impl Send for Plan

impl Sync for Plan