Struct windows::Management::Deployment::RegisterPackageOptions
pub struct RegisterPackageOptions(/* private fields */);
Implementations§
§impl RegisterPackageOptions
impl RegisterPackageOptions
pub fn new() -> Result<Self>
pub fn DependencyPackageUris(&self) -> Result<IVector<Uri>>
pub fn AppDataVolume(&self) -> Result<PackageVolume>
pub fn SetAppDataVolume<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<PackageVolume>,
pub fn OptionalPackageFamilyNames(&self) -> Result<IVector<HSTRING>>
pub fn ExternalLocationUri(&self) -> Result<Uri>
pub fn SetExternalLocationUri<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn DeveloperMode(&self) -> Result<bool>
pub fn SetDeveloperMode(&self, value: bool) -> Result<()>
pub fn ForceAppShutdown(&self) -> Result<bool>
pub fn SetForceAppShutdown(&self, value: bool) -> Result<()>
pub fn ForceTargetAppShutdown(&self) -> Result<bool>
pub fn SetForceTargetAppShutdown(&self, value: bool) -> Result<()>
pub fn ForceUpdateFromAnyVersion(&self) -> Result<bool>
pub fn SetForceUpdateFromAnyVersion(&self, value: bool) -> Result<()>
pub fn InstallAllResources(&self) -> Result<bool>
pub fn SetInstallAllResources(&self, value: bool) -> Result<()>
pub fn StageInPlace(&self) -> Result<bool>
pub fn SetStageInPlace(&self, value: bool) -> Result<()>
pub fn AllowUnsigned(&self) -> Result<bool>
pub fn SetAllowUnsigned(&self, value: bool) -> Result<()>
pub fn DeferRegistrationWhenPackagesAreInUse(&self) -> Result<bool>
pub fn SetDeferRegistrationWhenPackagesAreInUse( &self, value: bool ) -> Result<()>
pub fn ExpectedDigests(&self) -> Result<IMap<Uri, HSTRING>>
Trait Implementations§
§impl Clone for RegisterPackageOptions
impl Clone for RegisterPackageOptions
§fn clone(&self) -> RegisterPackageOptions
fn clone(&self) -> RegisterPackageOptions
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 RegisterPackageOptions
impl Debug for RegisterPackageOptions
§impl From<&RegisterPackageOptions> for &IInspectable
impl From<&RegisterPackageOptions> for &IInspectable
§fn from(value: &RegisterPackageOptions) -> Self
fn from(value: &RegisterPackageOptions) -> Self
Converts to this type from the input type.
§impl From<&RegisterPackageOptions> for &IUnknown
impl From<&RegisterPackageOptions> for &IUnknown
§fn from(value: &RegisterPackageOptions) -> Self
fn from(value: &RegisterPackageOptions) -> Self
Converts to this type from the input type.
§impl From<RegisterPackageOptions> for IInspectable
impl From<RegisterPackageOptions> for IInspectable
§fn from(value: RegisterPackageOptions) -> Self
fn from(value: RegisterPackageOptions) -> Self
Converts to this type from the input type.
§impl From<RegisterPackageOptions> for IUnknown
impl From<RegisterPackageOptions> for IUnknown
§fn from(value: RegisterPackageOptions) -> Self
fn from(value: RegisterPackageOptions) -> Self
Converts to this type from the input type.
§impl Interface for RegisterPackageOptions
impl Interface for RegisterPackageOptions
§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 RegisterPackageOptions
impl PartialEq for RegisterPackageOptions
§fn eq(&self, other: &RegisterPackageOptions) -> bool
fn eq(&self, other: &RegisterPackageOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegisterPackageOptions
impl Send for RegisterPackageOptions
impl StructuralPartialEq for RegisterPackageOptions
impl Sync for RegisterPackageOptions
Auto Trait Implementations§
impl RefUnwindSafe for RegisterPackageOptions
impl Unpin for RegisterPackageOptions
impl UnwindSafe for RegisterPackageOptions
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