Enum solana_budget_program::budget_instruction::BudgetInstruction [−][src]
pub enum BudgetInstruction { InitializeAccount(Box<BudgetExpr>), ApplyTimestamp(DateTime<Utc>), ApplySignature, ApplyAccountData, }
Expand description
An instruction to progress the smart contract.
Variants
Declare and instantiate BudgetExpr
.
Tuple Fields of InitializeAccount
0: Box<BudgetExpr>
Tell a payment plan acknowledge the given DateTime
has past.
Tell the budget that the InitializeAccount
with Signature
has been
signed by the containing transaction’s Pubkey
.
Load an account and pass its data to the budget for inspection.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BudgetInstruction
impl Send for BudgetInstruction
impl Sync for BudgetInstruction
impl Unpin for BudgetInstruction
impl UnwindSafe for BudgetInstruction
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self