Struct windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem
pub struct AppInstallItem(/* private fields */);
Implementations§
§impl AppInstallItem
impl AppInstallItem
pub fn ProductId(&self) -> Result<HSTRING>
pub fn PackageFamilyName(&self) -> Result<HSTRING>
pub fn InstallType(&self) -> Result<AppInstallType>
pub fn IsUserInitiated(&self) -> Result<bool>
pub fn GetCurrentStatus(&self) -> Result<AppInstallStatus>
pub fn Cancel(&self) -> Result<()>
pub fn Pause(&self) -> Result<()>
pub fn Restart(&self) -> Result<()>
pub fn Completed<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveCompleted(&self, token: EventRegistrationToken) -> Result<()>
pub fn StatusChanged<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveStatusChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn CancelWithTelemetry(&self, correlationvector: &HSTRING) -> Result<()>
pub fn PauseWithTelemetry(&self, correlationvector: &HSTRING) -> Result<()>
pub fn RestartWithTelemetry(&self, correlationvector: &HSTRING) -> Result<()>
pub fn Children(&self) -> Result<IVectorView<AppInstallItem>>
pub fn ItemOperationsMightAffectOtherItems(&self) -> Result<bool>
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<()>
Trait Implementations§
§impl Clone for AppInstallItem
impl Clone for AppInstallItem
§fn clone(&self) -> AppInstallItem
fn clone(&self) -> AppInstallItem
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 AppInstallItem
impl Debug for AppInstallItem
§impl From<&AppInstallItem> for &IInspectable
impl From<&AppInstallItem> for &IInspectable
§fn from(value: &AppInstallItem) -> Self
fn from(value: &AppInstallItem) -> Self
Converts to this type from the input type.
§impl From<&AppInstallItem> for &IUnknown
impl From<&AppInstallItem> for &IUnknown
§fn from(value: &AppInstallItem) -> Self
fn from(value: &AppInstallItem) -> Self
Converts to this type from the input type.
§impl From<AppInstallItem> for IInspectable
impl From<AppInstallItem> for IInspectable
§fn from(value: AppInstallItem) -> Self
fn from(value: AppInstallItem) -> Self
Converts to this type from the input type.
§impl From<AppInstallItem> for IUnknown
impl From<AppInstallItem> for IUnknown
§fn from(value: AppInstallItem) -> Self
fn from(value: AppInstallItem) -> Self
Converts to this type from the input type.
§impl Interface for AppInstallItem
impl Interface for AppInstallItem
§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 AppInstallItem
impl PartialEq for AppInstallItem
§fn eq(&self, other: &AppInstallItem) -> bool
fn eq(&self, other: &AppInstallItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AppInstallItem
impl Send for AppInstallItem
impl StructuralPartialEq for AppInstallItem
impl Sync for AppInstallItem
Auto Trait Implementations§
impl RefUnwindSafe for AppInstallItem
impl Unpin for AppInstallItem
impl UnwindSafe for AppInstallItem
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