Struct windows::ApplicationModel::Store::ProductListing
pub struct ProductListing(/* private fields */);
Implementations§
§impl ProductListing
impl ProductListing
pub fn ProductId(&self) -> Result<HSTRING>
pub fn FormattedPrice(&self) -> Result<HSTRING>
pub fn Name(&self) -> Result<HSTRING>
pub fn FormattedBasePrice(&self) -> Result<HSTRING>
pub fn SaleEndDate(&self) -> Result<DateTime>
pub fn IsOnSale(&self) -> Result<bool>
pub fn CurrencyCode(&self) -> Result<HSTRING>
pub fn Description(&self) -> Result<HSTRING>
pub fn Keywords(&self) -> Result<IIterable<HSTRING>>
pub fn ProductType(&self) -> Result<ProductType>
pub fn Tag(&self) -> Result<HSTRING>
pub fn ImageUri(&self) -> Result<Uri>
Trait Implementations§
§impl Clone for ProductListing
impl Clone for ProductListing
§fn clone(&self) -> ProductListing
fn clone(&self) -> ProductListing
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 ProductListing
impl Debug for ProductListing
§impl From<&ProductListing> for &IInspectable
impl From<&ProductListing> for &IInspectable
§fn from(value: &ProductListing) -> Self
fn from(value: &ProductListing) -> Self
Converts to this type from the input type.
§impl From<&ProductListing> for &IUnknown
impl From<&ProductListing> for &IUnknown
§fn from(value: &ProductListing) -> Self
fn from(value: &ProductListing) -> Self
Converts to this type from the input type.
§impl From<ProductListing> for IInspectable
impl From<ProductListing> for IInspectable
§fn from(value: ProductListing) -> Self
fn from(value: ProductListing) -> Self
Converts to this type from the input type.
§impl From<ProductListing> for IUnknown
impl From<ProductListing> for IUnknown
§fn from(value: ProductListing) -> Self
fn from(value: ProductListing) -> Self
Converts to this type from the input type.
§impl Interface for ProductListing
impl Interface for ProductListing
§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 ProductListing
impl PartialEq for ProductListing
§fn eq(&self, other: &ProductListing) -> bool
fn eq(&self, other: &ProductListing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProductListing
impl Send for ProductListing
impl StructuralPartialEq for ProductListing
impl Sync for ProductListing
Auto Trait Implementations§
impl RefUnwindSafe for ProductListing
impl Unpin for ProductListing
impl UnwindSafe for ProductListing
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