pub struct Config {
pub aur_helper: String,
pub aur_rm_args: Vec<String>,
pub flatpak_systemwide: bool,
pub warn_not_symlinks: bool,
pub disabled_backends: Vec<String>,
pub pip_binary: String,
}Expand description
Config for the program, as listed in $XDG_CONFIG_HOME/pacdef/pacdef.yaml.
Fields§
§aur_helper: StringThe AUR helper to use for Arch Linux.
aur_rm_args: Vec<String>Additional arguments to pass to aur_helper when removing a package.
flatpak_systemwide: boolInstall Flatpak packages system-wide
warn_not_symlinks: boolWarn the user when a group is not a symlink.
disabled_backends: Vec<String>Backends the user does not want to use even though the binary exists.
pip_binary: StringChoose whether to use pipx instead of pip for python package management
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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