Struct windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions
pub struct AppInstallOptions(/* private fields */);
Implementations§
§impl AppInstallOptions
impl AppInstallOptions
pub fn new() -> Result<Self>
pub fn CatalogId(&self) -> Result<HSTRING>
pub fn SetCatalogId(&self, value: &HSTRING) -> Result<()>
pub fn ForceUseOfNonRemovableStorage(&self) -> Result<bool>
pub fn SetForceUseOfNonRemovableStorage(&self, value: bool) -> Result<()>
pub fn AllowForcedAppRestart(&self) -> Result<bool>
pub fn SetAllowForcedAppRestart(&self, value: bool) -> Result<()>
pub fn Repair(&self) -> Result<bool>
pub fn SetRepair(&self, value: bool) -> Result<()>
pub fn TargetVolume(&self) -> Result<PackageVolume>
pub fn SetTargetVolume<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<PackageVolume>,
pub fn LaunchAfterInstall(&self) -> Result<bool>
pub fn SetLaunchAfterInstall(&self, value: bool) -> Result<()>
pub fn PinToDesktopAfterInstall(&self) -> Result<bool>
pub fn SetPinToDesktopAfterInstall(&self, value: bool) -> Result<()>
pub fn PinToStartAfterInstall(&self) -> Result<bool>
pub fn SetPinToStartAfterInstall(&self, value: bool) -> Result<()>
pub fn PinToTaskbarAfterInstall(&self) -> Result<bool>
pub fn SetPinToTaskbarAfterInstall(&self, value: bool) -> Result<()>
pub fn CompletedInstallToastNotificationMode( &self ) -> Result<AppInstallationToastNotificationMode>
pub fn SetCompletedInstallToastNotificationMode( &self, value: AppInstallationToastNotificationMode ) -> Result<()>
pub fn InstallInProgressToastNotificationMode( &self ) -> Result<AppInstallationToastNotificationMode>
pub fn SetInstallInProgressToastNotificationMode( &self, value: AppInstallationToastNotificationMode ) -> Result<()>
pub fn InstallForAllUsers(&self) -> Result<bool>
pub fn SetInstallForAllUsers(&self, value: bool) -> Result<()>
pub fn StageButDoNotInstall(&self) -> Result<bool>
pub fn SetStageButDoNotInstall(&self, value: bool) -> Result<()>
pub fn CampaignId(&self) -> Result<HSTRING>
pub fn SetCampaignId(&self, value: &HSTRING) -> Result<()>
pub fn ExtendedCampaignId(&self) -> Result<HSTRING>
pub fn SetExtendedCampaignId(&self, value: &HSTRING) -> Result<()>
Trait Implementations§
§impl Clone for AppInstallOptions
impl Clone for AppInstallOptions
§fn clone(&self) -> AppInstallOptions
fn clone(&self) -> AppInstallOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AppInstallOptions
impl Debug for AppInstallOptions
§impl From<&AppInstallOptions> for &IInspectable
impl From<&AppInstallOptions> for &IInspectable
§fn from(value: &AppInstallOptions) -> Self
fn from(value: &AppInstallOptions) -> Self
Converts to this type from the input type.
§impl From<&AppInstallOptions> for &IUnknown
impl From<&AppInstallOptions> for &IUnknown
§fn from(value: &AppInstallOptions) -> Self
fn from(value: &AppInstallOptions) -> Self
Converts to this type from the input type.
§impl From<AppInstallOptions> for IInspectable
impl From<AppInstallOptions> for IInspectable
§fn from(value: AppInstallOptions) -> Self
fn from(value: AppInstallOptions) -> Self
Converts to this type from the input type.
§impl From<AppInstallOptions> for IUnknown
impl From<AppInstallOptions> for IUnknown
§fn from(value: AppInstallOptions) -> Self
fn from(value: AppInstallOptions) -> Self
Converts to this type from the input type.
§impl Interface for AppInstallOptions
impl Interface for AppInstallOptions
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for AppInstallOptions
impl PartialEq for AppInstallOptions
§fn eq(&self, other: &AppInstallOptions) -> bool
fn eq(&self, other: &AppInstallOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AppInstallOptions
impl Send for AppInstallOptions
impl StructuralPartialEq for AppInstallOptions
impl Sync for AppInstallOptions
Auto Trait Implementations§
impl RefUnwindSafe for AppInstallOptions
impl Unpin for AppInstallOptions
impl UnwindSafe for AppInstallOptions
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