pub struct RemovePackageArgs {
pub packages: Option<Vec<String>>,
pub force: bool,
pub remove_orphans: bool,
pub dry_run: bool,
pub profile: Option<String>,
}Fields§
§packages: Option<Vec<String>>Packages to remove.
force: boolRemove even if another package or profile still depends on it.
remove_orphans: boolAlso remove dependencies left unreferenced after this removal.
dry_run: boolPreview what would be removed without making changes.
profile: Option<String>Profile context used to resolve dependencies.
Trait Implementations§
Source§impl Args for RemovePackageArgs
impl Args for RemovePackageArgs
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 RemovePackageArgs
impl Debug for RemovePackageArgs
Source§impl Default for RemovePackageArgs
impl Default for RemovePackageArgs
Source§fn default() -> RemovePackageArgs
fn default() -> RemovePackageArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for RemovePackageArgs
impl FromArgMatches for RemovePackageArgs
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 RemovePackageArgs
impl RefUnwindSafe for RemovePackageArgs
impl Send for RemovePackageArgs
impl Sync for RemovePackageArgs
impl Unpin for RemovePackageArgs
impl UnsafeUnpin for RemovePackageArgs
impl UnwindSafe for RemovePackageArgs
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