pub enum PackageFormat {
Show 15 variants
TarGz,
Zip,
Deb,
Rpm,
PkgTarZst,
Nix,
Homebrew,
Winget,
App,
Dmg,
Exe,
Msi,
Apk,
Ipa,
BsdPkg,
}Expand description
How a full package reaches the user.
Variants§
Implementations§
Source§impl PackageFormat
impl PackageFormat
Sourcepub fn install_mode(self) -> InstallMode
pub fn install_mode(self) -> InstallMode
The install path for this format. Nothing escalates privileges without a prompt.
Trait Implementations§
Source§impl Clone for PackageFormat
impl Clone for PackageFormat
impl Copy for PackageFormat
Source§impl Debug for PackageFormat
impl Debug for PackageFormat
Source§impl<'de> Deserialize<'de> for PackageFormat
impl<'de> Deserialize<'de> for PackageFormat
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
impl Eq for PackageFormat
Source§impl Hash for PackageFormat
impl Hash for PackageFormat
Source§impl Ord for PackageFormat
impl Ord for PackageFormat
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PackageFormat
impl PartialEq for PackageFormat
Source§impl PartialOrd for PackageFormat
impl PartialOrd for PackageFormat
Source§impl Serialize for PackageFormat
impl Serialize for PackageFormat
impl StructuralPartialEq for PackageFormat
Auto Trait Implementations§
impl Forget for PackageFormat
impl Freeze for PackageFormat
impl Move for PackageFormat
impl RefUnwindSafe for PackageFormat
impl Send for PackageFormat
impl Sync for PackageFormat
impl Unpin for PackageFormat
impl UnsafeUnpin for PackageFormat
impl UnwindSafe for PackageFormat
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