Enum solana::budget::Condition[][src]

pub enum Condition {
    Timestamp(DateTime<Utc>, Pubkey),
    Signature(Pubkey),
}

A data type representing a Witness that the payment plan is waiting on.

Variants

Wait for a Timestamp Witness at or after the given DateTime.

Wait for a Signature Witness from Pubkey.

Methods

impl Condition
[src]

Return true if the given Witness satisfies this Condition.

Trait Implementations

impl Debug for Condition
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Condition
[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 Condition
[src]

impl Clone for Condition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Condition

impl Sync for Condition