Enum solana::transaction::Instruction[][src]

pub enum Instruction {
    NewContract(Contract),
    ApplyTimestamp(DateTime<Utc>),
    ApplySignature(Signature),
    NewVote(Vote),
}

An instruction to progress the smart contract.

Variants

Declare and instanstansiate Contract.

Tell a payment plan acknowledge the given DateTime has past.

Tell the payment plan that the NewContract with Signature has been signed by the containing transaction's Pubkey.

Vote for a PoH that is equal to the lastid of this transaction

Trait Implementations

impl Debug for Instruction
[src]

Formats the value using the given formatter. Read more

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

impl Clone for Instruction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Instruction

impl Sync for Instruction