pub struct InstallationEntry {
pub name: String,
pub properties: HashMap<String, String>,
}
Expand description
Data about an (un)installation command. This contains the name of the package to install, as well as a map of properties specified on the command line.
Fields§
§name: String
The name of the package. This is a unique identifier, not a human readable string.
properties: HashMap<String, String>
Additional properties specified on the command line. These are arbitrary String-String mappings passed as long arguments
by the user, and are used for distro-specific or package-manager-specific operations. For example, on Arch linux, a user
may run darling install joshuto --source=aur
to install a package such as joshuto from the AUR.
Trait Implementations§
Source§impl Clone for InstallationEntry
impl Clone for InstallationEntry
Source§fn clone(&self) -> InstallationEntry
fn clone(&self) -> InstallationEntry
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 moreAuto Trait Implementations§
impl Freeze for InstallationEntry
impl RefUnwindSafe for InstallationEntry
impl Send for InstallationEntry
impl Sync for InstallationEntry
impl Unpin for InstallationEntry
impl UnwindSafe for InstallationEntry
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