Enum solana_budget_program::budget_instruction::BudgetInstruction[][src]

[]
pub enum BudgetInstruction {
    InitializeAccount(Box<BudgetExpr>),
    ApplyTimestamp(DateTime<Utc>),
    ApplySignature,
    ApplyAccountData,
}
[]

An instruction to progress the smart contract.

Variants

InitializeAccount(Box<BudgetExpr>)
[]

Declare and instantiate BudgetExpr.

ApplyTimestamp(DateTime<Utc>)
[]

Tell a payment plan acknowledge the given DateTime has past.

ApplySignature
[]

Tell the budget that the InitializeAccount with Signature has been signed by the containing transaction’s Pubkey.

ApplyAccountData
[]

Load an account and pass its data to the budget for inspection.

Trait Implementations

impl Clone for BudgetInstruction[src][+]

impl Debug for BudgetInstruction[src][+]

impl<'de> Deserialize<'de> for BudgetInstruction[src][+]

impl Eq for BudgetInstruction[src]

impl PartialEq<BudgetInstruction> for BudgetInstruction[src][+]

impl Serialize for BudgetInstruction[src][+]

impl StructuralEq for BudgetInstruction[src]

impl StructuralPartialEq for BudgetInstruction[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any
[+]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]