Struct windows::Services::Store::StorePackageLicense
pub struct StorePackageLicense(/* private fields */);
Implementations§
§impl StorePackageLicense
impl StorePackageLicense
pub fn Close(&self) -> Result<()>
pub fn LicenseLost<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveLicenseLost(&self, token: EventRegistrationToken) -> Result<()>
pub fn Package(&self) -> Result<Package>
pub fn IsValid(&self) -> Result<bool>
pub fn ReleaseLicense(&self) -> Result<()>
Trait Implementations§
§impl Clone for StorePackageLicense
impl Clone for StorePackageLicense
§fn clone(&self) -> StorePackageLicense
fn clone(&self) -> StorePackageLicense
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 StorePackageLicense
impl Debug for StorePackageLicense
§impl From<&StorePackageLicense> for &IInspectable
impl From<&StorePackageLicense> for &IInspectable
§fn from(value: &StorePackageLicense) -> Self
fn from(value: &StorePackageLicense) -> Self
Converts to this type from the input type.
§impl From<&StorePackageLicense> for &IUnknown
impl From<&StorePackageLicense> for &IUnknown
§fn from(value: &StorePackageLicense) -> Self
fn from(value: &StorePackageLicense) -> Self
Converts to this type from the input type.
§impl From<StorePackageLicense> for IInspectable
impl From<StorePackageLicense> for IInspectable
§fn from(value: StorePackageLicense) -> Self
fn from(value: StorePackageLicense) -> Self
Converts to this type from the input type.
§impl From<StorePackageLicense> for IUnknown
impl From<StorePackageLicense> for IUnknown
§fn from(value: StorePackageLicense) -> Self
fn from(value: StorePackageLicense) -> Self
Converts to this type from the input type.
§impl Interface for StorePackageLicense
impl Interface for StorePackageLicense
§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 StorePackageLicense
impl PartialEq for StorePackageLicense
§fn eq(&self, other: &StorePackageLicense) -> bool
fn eq(&self, other: &StorePackageLicense) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorePackageLicense
impl Send for StorePackageLicense
impl StructuralPartialEq for StorePackageLicense
impl Sync for StorePackageLicense
Auto Trait Implementations§
impl RefUnwindSafe for StorePackageLicense
impl Unpin for StorePackageLicense
impl UnwindSafe for StorePackageLicense
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