pub struct Installer {Show 38 fields
pub locale: Option<LanguageTag>,
pub platform: Option<Platform>,
pub minimum_os_version: Option<MinimumOSVersion>,
pub architecture: Architecture,
pub type: Option<InstallerType>,
pub nested_installer_type: Option<NestedInstallerType>,
pub nested_installer_files: Option<BTreeSet<NestedInstallerFiles>>,
pub scope: Option<Scope>,
pub url: DecodedUrl,
pub sha_256: Sha256String,
pub signature_sha_256: Option<Sha256String>,
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>,
}Fields§
§locale: Option<LanguageTag>§platform: Option<Platform>§minimum_os_version: Option<MinimumOSVersion>§architecture: Architecture§type: Option<InstallerType>§nested_installer_type: Option<NestedInstallerType>§nested_installer_files: Option<BTreeSet<NestedInstallerFiles>>§scope: Option<Scope>§url: DecodedUrl§sha_256: Sha256String§signature_sha_256: Option<Sha256String>§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>Implementations§
Source§impl Installer
impl Installer
pub fn merge_with(self, other: Self) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Installer
impl<'de> Deserialize<'de> for Installer
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 Ord for Installer
impl Ord for Installer
Source§impl PartialOrd for Installer
impl PartialOrd for Installer
impl Eq for Installer
impl StructuralPartialEq for Installer
Auto Trait Implementations§
impl Freeze for Installer
impl RefUnwindSafe for Installer
impl Send for Installer
impl Sync for Installer
impl Unpin for Installer
impl UnwindSafe for Installer
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