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>,
        authority_pubkey: Pubkey,
        all: bool,
        use_lamports_unit: bool,
    },
    Dump {
        account_pubkey: Option<Pubkey>,
        output_location: String,
    },
    Close {
        account_pubkey: Option<Pubkey>,
        recipient_pubkey: Pubkey,
        authority_index: SignerIndex,
        use_lamports_unit: bool,
    },
}

Variants

Deploy
Show fields

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
Show fields

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
Show fields

Fields of SetBufferAuthority

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

Fields of SetUpgradeAuthority

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

Fields of Show

account_pubkey: Option<Pubkey>authority_pubkey: Pubkeyall: booluse_lamports_unit: bool
Dump
Show fields

Fields of Dump

account_pubkey: Option<Pubkey>output_location: String
Close
Show fields

Fields of Close

account_pubkey: Option<Pubkey>recipient_pubkey: Pubkeyauthority_index: SignerIndexuse_lamports_unit: bool

Trait Implementations

Formats the value using the given formatter. 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.