Struct multiversx_sc_meta::cli::UpgradeArgs
source · pub struct UpgradeArgs {
pub path: Option<String>,
pub ignore: Vec<String>,
pub override_target_version: Option<String>,
pub no_check: bool,
}Fields§
§path: Option<String>Target directory where to upgrade contracts. Will be current directory if not specified.
ignore: Vec<String>Ignore all directories with these names.
override_target_version: Option<String>Overrides the version to upgrade to. By default it will be the last version out.
no_check: boolSkips ‘cargo check’ after upgrade
Trait Implementations§
source§impl Args for UpgradeArgs
impl Args for UpgradeArgs
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for UpgradeArgs
impl Clone for UpgradeArgs
source§fn clone(&self) -> UpgradeArgs
fn clone(&self) -> UpgradeArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UpgradeArgs
impl Debug for UpgradeArgs
source§impl Default for UpgradeArgs
impl Default for UpgradeArgs
source§fn default() -> UpgradeArgs
fn default() -> UpgradeArgs
Returns the “default value” for a type. Read more
source§impl FromArgMatches for UpgradeArgs
impl FromArgMatches for UpgradeArgs
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.source§impl PartialEq for UpgradeArgs
impl PartialEq for UpgradeArgs
source§fn eq(&self, other: &UpgradeArgs) -> bool
fn eq(&self, other: &UpgradeArgs) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UpgradeArgs
impl StructuralPartialEq for UpgradeArgs
Auto Trait Implementations§
impl Freeze for UpgradeArgs
impl RefUnwindSafe for UpgradeArgs
impl Send for UpgradeArgs
impl Sync for UpgradeArgs
impl Unpin for UpgradeArgs
impl UnwindSafe for UpgradeArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more