pub struct PacManagerAction {
pub pacmanager_command: PacManagerCommand,
pub internal_config: InternalConfig,
pub non_interactive: bool,
pub custom_flags: Option<Vec<String>>,
}Expand description
An action of the package manager - the command to execute, custom flags, etc. This is passed to the ‘execute_action’ function.
Fields§
§pacmanager_command: PacManagerCommandThe command that should be executed
internal_config: InternalConfigThe “internal” configuration
non_interactive: boolSets a “non interactive” flag when possible, this prevents confirmation prompts and other things that require manual interaction
custom_flags: Option<Vec<String>>Custom flags which should be passed to the package manager
Trait Implementations§
Source§impl Clone for PacManagerAction
impl Clone for PacManagerAction
Source§fn clone(&self) -> PacManagerAction
fn clone(&self) -> PacManagerAction
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PacManagerAction
impl RefUnwindSafe for PacManagerAction
impl Send for PacManagerAction
impl Sync for PacManagerAction
impl Unpin for PacManagerAction
impl UnwindSafe for PacManagerAction
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