Struct windows::Services::Store::StoreProduct
pub struct StoreProduct(/* private fields */);
Implementations§
§impl StoreProduct
impl StoreProduct
pub fn StoreId(&self) -> Result<HSTRING>
pub fn Language(&self) -> Result<HSTRING>
pub fn Title(&self) -> Result<HSTRING>
pub fn Description(&self) -> Result<HSTRING>
pub fn ProductKind(&self) -> Result<HSTRING>
pub fn HasDigitalDownload(&self) -> Result<bool>
pub fn Keywords(&self) -> Result<IVectorView<HSTRING>>
pub fn Images(&self) -> Result<IVectorView<StoreImage>>
pub fn Videos(&self) -> Result<IVectorView<StoreVideo>>
pub fn Skus(&self) -> Result<IVectorView<StoreSku>>
pub fn IsInUserCollection(&self) -> Result<bool>
pub fn Price(&self) -> Result<StorePrice>
pub fn ExtendedJsonData(&self) -> Result<HSTRING>
pub fn LinkUri(&self) -> Result<Uri>
pub fn GetIsAnySkuInstalledAsync(&self) -> Result<IAsyncOperation<bool>>
pub fn RequestPurchaseAsync( &self ) -> Result<IAsyncOperation<StorePurchaseResult>>
pub fn RequestPurchaseWithPurchasePropertiesAsync<P0>(
&self,
storepurchaseproperties: P0
) -> Result<IAsyncOperation<StorePurchaseResult>>where
P0: IntoParam<StorePurchaseProperties>,
pub fn InAppOfferToken(&self) -> Result<HSTRING>
Trait Implementations§
§impl Clone for StoreProduct
impl Clone for StoreProduct
§fn clone(&self) -> StoreProduct
fn clone(&self) -> StoreProduct
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 StoreProduct
impl Debug for StoreProduct
§impl From<&StoreProduct> for &IInspectable
impl From<&StoreProduct> for &IInspectable
§fn from(value: &StoreProduct) -> Self
fn from(value: &StoreProduct) -> Self
Converts to this type from the input type.
§impl From<&StoreProduct> for &IUnknown
impl From<&StoreProduct> for &IUnknown
§fn from(value: &StoreProduct) -> Self
fn from(value: &StoreProduct) -> Self
Converts to this type from the input type.
§impl From<StoreProduct> for IInspectable
impl From<StoreProduct> for IInspectable
§fn from(value: StoreProduct) -> Self
fn from(value: StoreProduct) -> Self
Converts to this type from the input type.
§impl From<StoreProduct> for IUnknown
impl From<StoreProduct> for IUnknown
§fn from(value: StoreProduct) -> Self
fn from(value: StoreProduct) -> Self
Converts to this type from the input type.
§impl Interface for StoreProduct
impl Interface for StoreProduct
§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 StoreProduct
impl PartialEq for StoreProduct
§fn eq(&self, other: &StoreProduct) -> bool
fn eq(&self, other: &StoreProduct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StoreProduct
impl Send for StoreProduct
impl StructuralPartialEq for StoreProduct
impl Sync for StoreProduct
Auto Trait Implementations§
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