Enum solana_cli::program::ProgramCliCommand[][src]

pub enum ProgramCliCommand {
    Deploy {
        program_location: Option<String>,
        program_signer_index: Option<SignerIndex>,
        program_pubkey: Option<Pubkey>,
        buffer_signer_index: Option<SignerIndex>,
        buffer_pubkey: Option<Pubkey>,
        upgrade_authority_signer_index: SignerIndex,
        is_final: bool,
        max_len: Option<usize>,
        allow_excessive_balance: bool,
    },
    WriteBuffer {
        program_location: String,
        buffer_signer_index: Option<SignerIndex>,
        buffer_pubkey: Option<Pubkey>,
        buffer_authority_signer_index: Option<SignerIndex>,
        max_len: Option<usize>,
    },
    SetBufferAuthority {
        buffer_pubkey: Pubkey,
        buffer_authority_index: Option<SignerIndex>,
        new_buffer_authority: Pubkey,
    },
    SetUpgradeAuthority {
        program_pubkey: Pubkey,
        upgrade_authority_index: Option<SignerIndex>,
        new_upgrade_authority: Option<Pubkey>,
    },
    Show {
        account_pubkey: Option<Pubkey>,
    },
    Dump {
        account_pubkey: Option<Pubkey>,
        output_location: String,
    },
}

Variants

Deploy

Fields of Deploy

program_location: Option<String>program_signer_index: Option<SignerIndex>program_pubkey: Option<Pubkey>buffer_signer_index: Option<SignerIndex>buffer_pubkey: Option<Pubkey>upgrade_authority_signer_index: SignerIndexis_final: boolmax_len: Option<usize>allow_excessive_balance: bool
WriteBuffer

Fields of WriteBuffer

program_location: Stringbuffer_signer_index: Option<SignerIndex>buffer_pubkey: Option<Pubkey>buffer_authority_signer_index: Option<SignerIndex>max_len: Option<usize>
SetBufferAuthority

Fields of SetBufferAuthority

buffer_pubkey: Pubkeybuffer_authority_index: Option<SignerIndex>new_buffer_authority: Pubkey
SetUpgradeAuthority

Fields of SetUpgradeAuthority

program_pubkey: Pubkeyupgrade_authority_index: Option<SignerIndex>new_upgrade_authority: Option<Pubkey>
Show

Fields of Show

account_pubkey: Option<Pubkey>
Dump

Fields of Dump

account_pubkey: Option<Pubkey>output_location: String

Trait Implementations

impl Debug for ProgramCliCommand[src]

impl PartialEq<ProgramCliCommand> for ProgramCliCommand[src]

impl StructuralPartialEq for ProgramCliCommand[src]

Auto Trait Implementations

impl RefUnwindSafe for ProgramCliCommand

impl Send for ProgramCliCommand

impl Sync for ProgramCliCommand

impl Unpin for ProgramCliCommand

impl UnwindSafe for ProgramCliCommand

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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]

impl<T> WithSubscriber for T[src]