pub struct DeployCommand {
pub program_keypair: Option<PathBuf>,
pub upgrade_authority: Option<PathBuf>,
pub keypair: Option<PathBuf>,
pub url: Option<String>,
pub skip_build: bool,
}Fields§
§program_keypair: Option<PathBuf>Path to a program keypair (default: target/deploy/
Upgrade authority keypair (default: Solana CLI default keypair)
keypair: Option<PathBuf>Payer keypair (default: Solana CLI default keypair)
url: Option<String>Cluster URL (default: Solana CLI configured cluster)
skip_build: boolSkip the build step
Trait Implementations§
Source§impl Args for DeployCommand
impl Args for DeployCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for DeployCommand
impl Debug for DeployCommand
Source§impl Default for DeployCommand
impl Default for DeployCommand
Source§fn default() -> DeployCommand
fn default() -> DeployCommand
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for DeployCommand
impl FromArgMatches for DeployCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DeployCommand
impl RefUnwindSafe for DeployCommand
impl Send for DeployCommand
impl Sync for DeployCommand
impl Unpin for DeployCommand
impl UnsafeUnpin for DeployCommand
impl UnwindSafe for DeployCommand
Blanket Implementations§
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