pub struct DepGroup {
pub group: String,
pub pacman: Vec<String>,
pub apt: Vec<String>,
pub dnf: Vec<String>,
pub brew: Vec<String>,
pub scoop: Vec<String>,
pub winget: Vec<String>,
}Expand description
Caller-supplied representation of one [[deps]] group.
Mirrors the relevant fields from krypt_core::config::DepsGroup; the CLI
layer constructs these from the parsed config so that krypt-pkg does not
need to take a dependency on krypt-core.
Fields§
§group: StringGroup name (e.g. "core", "fonts").
pacman: Vec<String>Packages for the pacman manager.
apt: Vec<String>Packages for the apt manager.
dnf: Vec<String>Packages for the dnf manager.
brew: Vec<String>Packages for the brew manager.
scoop: Vec<String>Packages for the scoop manager.
winget: Vec<String>Packages for the winget manager.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepGroup
impl RefUnwindSafe for DepGroup
impl Send for DepGroup
impl Sync for DepGroup
impl Unpin for DepGroup
impl UnsafeUnpin for DepGroup
impl UnwindSafe for DepGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more