Enum solana_cli::program::ProgramCliCommand
source · [−]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,
skip_fee_check: bool,
},
WriteBuffer {
program_location: String,
buffer_signer_index: Option<SignerIndex>,
buffer_pubkey: Option<Pubkey>,
buffer_authority_signer_index: Option<SignerIndex>,
max_len: Option<usize>,
skip_fee_check: bool,
},
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,
get_programs: bool,
get_buffers: bool,
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
Fields
program_signer_index: Option<SignerIndex>program_pubkey: Option<Pubkey>buffer_signer_index: Option<SignerIndex>buffer_pubkey: Option<Pubkey>is_final: boolallow_excessive_balance: boolskip_fee_check: boolWriteBuffer
Fields
program_location: Stringbuffer_signer_index: Option<SignerIndex>buffer_pubkey: Option<Pubkey>skip_fee_check: boolSetBufferAuthority
SetUpgradeAuthority
Show
Fields
account_pubkey: Option<Pubkey>get_programs: boolget_buffers: boolall: booluse_lamports_unit: boolDump
Close
Trait Implementations
sourceimpl Debug for ProgramCliCommand
impl Debug for ProgramCliCommand
sourceimpl PartialEq<ProgramCliCommand> for ProgramCliCommand
impl PartialEq<ProgramCliCommand> for ProgramCliCommand
sourcefn eq(&self, other: &ProgramCliCommand) -> bool
fn eq(&self, other: &ProgramCliCommand) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for ProgramCliCommand
impl StructuralEq for ProgramCliCommand
impl StructuralPartialEq for ProgramCliCommand
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> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more