pub struct InstallerManifest {Show 40 fields
pub package_identifier: PackageIdentifier,
pub package_version: PackageVersion,
pub channel: Option<String>,
pub locale: Option<LanguageTag>,
pub platform: Option<Platform>,
pub minimum_os_version: Option<MinimumOSVersion>,
pub type: Option<InstallerType>,
pub nested_installer_type: Option<NestedInstallerType>,
pub nested_installer_files: Option<BTreeSet<NestedInstallerFiles>>,
pub scope: Option<Scope>,
pub install_modes: Option<InstallModes>,
pub switches: Option<InstallerSwitches>,
pub success_codes: Option<BTreeSet<InstallerSuccessCode>>,
pub expected_return_codes: Option<BTreeSet<ExpectedReturnCodes>>,
pub upgrade_behavior: Option<UpgradeBehavior>,
pub commands: Option<BTreeSet<Command>>,
pub protocols: Option<BTreeSet<Protocol>>,
pub file_extensions: Option<BTreeSet<FileExtension>>,
pub dependencies: Option<Dependencies>,
pub package_family_name: Option<PackageFamilyName>,
pub product_code: Option<String>,
pub capabilities: Option<BTreeSet<String>>,
pub restricted_capabilities: Option<BTreeSet<String>>,
pub markets: Option<Markets>,
pub aborts_terminal: Option<bool>,
pub release_date: Option<NaiveDate>,
pub install_location_required: Option<bool>,
pub require_explicit_upgrade: Option<bool>,
pub display_install_warnings: Option<bool>,
pub unsupported_os_architectures: Option<UnsupportedOSArchitecture>,
pub unsupported_arguments: Option<UnsupportedArguments>,
pub apps_and_features_entries: Option<Vec<AppsAndFeaturesEntry>>,
pub elevation_requirement: Option<ElevationRequirement>,
pub installation_metadata: Option<InstallationMetadata>,
pub download_command_prohibited: Option<bool>,
pub repair_behavior: Option<RepairBehavior>,
pub archive_binaries_depend_on_path: Option<bool>,
pub installers: Vec<Installer>,
pub manifest_type: ManifestType,
pub manifest_version: ManifestVersion,
}Fields§
§package_identifier: PackageIdentifier§package_version: PackageVersion§channel: Option<String>§locale: Option<LanguageTag>§platform: Option<Platform>§minimum_os_version: Option<MinimumOSVersion>§type: Option<InstallerType>§nested_installer_type: Option<NestedInstallerType>§nested_installer_files: Option<BTreeSet<NestedInstallerFiles>>§scope: Option<Scope>§install_modes: Option<InstallModes>§switches: Option<InstallerSwitches>§success_codes: Option<BTreeSet<InstallerSuccessCode>>§expected_return_codes: Option<BTreeSet<ExpectedReturnCodes>>§upgrade_behavior: Option<UpgradeBehavior>§commands: Option<BTreeSet<Command>>§protocols: Option<BTreeSet<Protocol>>§file_extensions: Option<BTreeSet<FileExtension>>§dependencies: Option<Dependencies>§package_family_name: Option<PackageFamilyName>§product_code: Option<String>§capabilities: Option<BTreeSet<String>>§restricted_capabilities: Option<BTreeSet<String>>§markets: Option<Markets>§aborts_terminal: Option<bool>§release_date: Option<NaiveDate>§install_location_required: Option<bool>§require_explicit_upgrade: Option<bool>§display_install_warnings: Option<bool>§unsupported_os_architectures: Option<UnsupportedOSArchitecture>§unsupported_arguments: Option<UnsupportedArguments>§apps_and_features_entries: Option<Vec<AppsAndFeaturesEntry>>§elevation_requirement: Option<ElevationRequirement>§installation_metadata: Option<InstallationMetadata>§download_command_prohibited: Option<bool>§repair_behavior: Option<RepairBehavior>§archive_binaries_depend_on_path: Option<bool>§installers: Vec<Installer>§manifest_type: ManifestType§manifest_version: ManifestVersionImplementations§
Source§impl InstallerManifest
impl InstallerManifest
pub fn reorder_keys( &mut self, package_identifier: &PackageIdentifier, package_version: &PackageVersion, )
Trait Implementations§
Source§impl Default for InstallerManifest
impl Default for InstallerManifest
Source§fn default() -> InstallerManifest
fn default() -> InstallerManifest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallerManifest
impl<'de> Deserialize<'de> for InstallerManifest
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
Source§impl Manifest for InstallerManifest
impl Manifest for InstallerManifest
Auto Trait Implementations§
impl Freeze for InstallerManifest
impl RefUnwindSafe for InstallerManifest
impl Send for InstallerManifest
impl Sync for InstallerManifest
impl Unpin for InstallerManifest
impl UnwindSafe for InstallerManifest
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> 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