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

impl Debug for ProgramCliCommand[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl PartialEq<ProgramCliCommand> for ProgramCliCommand[src]

fn eq(&self, other: &ProgramCliCommand) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &ProgramCliCommand) -> bool[src]

This method tests for !=.

impl StructuralPartialEq for ProgramCliCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> AbiExample for T

pub default fn example() -> T

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

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

fn in_current_span(self) -> Instrumented<Self>[src]

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

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

pub unsafe fn drop(ptr: usize)

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

impl<T> Same<T> for T

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V