pub struct ProfileRemoveArgs {
pub name: String,
pub dry_run: bool,
pub remove_orphans: bool,
}Fields§
§name: StringName of the profile to remove.
dry_run: boolPreview what would be removed without making changes.
remove_orphans: boolAlso remove packages that were only referenced by this profile.
Trait Implementations§
Source§impl Args for ProfileRemoveArgs
impl Args for ProfileRemoveArgs
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 ProfileRemoveArgs
impl Debug for ProfileRemoveArgs
Source§impl Default for ProfileRemoveArgs
impl Default for ProfileRemoveArgs
Source§fn default() -> ProfileRemoveArgs
fn default() -> ProfileRemoveArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for ProfileRemoveArgs
impl FromArgMatches for ProfileRemoveArgs
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 ProfileRemoveArgs
impl RefUnwindSafe for ProfileRemoveArgs
impl Send for ProfileRemoveArgs
impl Sync for ProfileRemoveArgs
impl Unpin for ProfileRemoveArgs
impl UnsafeUnpin for ProfileRemoveArgs
impl UnwindSafe for ProfileRemoveArgs
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