Enum miraland_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,
bypass_warning: bool,
},
}Variants§
Deploy
WriteBuffer
SetBufferAuthority
SetUpgradeAuthority
Show
Fields
Dump
Close
Trait Implementations§
source§impl Debug for ProgramCliCommand
impl Debug for ProgramCliCommand
source§impl PartialEq<ProgramCliCommand> for ProgramCliCommand
impl PartialEq<ProgramCliCommand> for ProgramCliCommand
source§fn 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 ==.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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.