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
NewContract(Contract)
Declare and instanstansiate Contract
.
ApplyTimestamp(DateTime<Utc>)
Tell a payment plan acknowledge the given DateTime
has past.
ApplySignature(Signature)
Tell the payment plan that the NewContract
with Signature
has been
signed by the containing transaction's PublicKey
.
NewVote(Vote)
Vote for a PoH that is equal to the lastid of this transaction
Trait Implementations
impl Debug for Instruction
[src]
impl Debug for Instruction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Instruction
[src]
impl PartialEq for Instruction
fn eq(&self, other: &Instruction) -> bool
[src]
fn eq(&self, other: &Instruction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Instruction) -> bool
[src]
fn ne(&self, other: &Instruction) -> bool
This method tests for !=
.
impl Eq for Instruction
[src]
impl Eq for Instruction
impl Clone for Instruction
[src]
impl Clone for Instruction
fn clone(&self) -> Instruction
[src]
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Sync for Instruction