pub struct ProductPurchaseDisplayProperties(/* private fields */);
Implementations§
§impl ProductPurchaseDisplayProperties
impl ProductPurchaseDisplayProperties
pub fn new() -> Result<Self>
pub fn Name(&self) -> Result<HSTRING>
pub fn SetName(&self, value: &HSTRING) -> Result<()>
pub fn Description(&self) -> Result<HSTRING>
pub fn SetDescription(&self, value: &HSTRING) -> Result<()>
pub fn Image(&self) -> Result<Uri>
pub fn SetImage<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn CreateProductPurchaseDisplayProperties( name: &HSTRING ) -> Result<ProductPurchaseDisplayProperties>
Trait Implementations§
§impl Clone for ProductPurchaseDisplayProperties
impl Clone for ProductPurchaseDisplayProperties
§fn clone(&self) -> ProductPurchaseDisplayProperties
fn clone(&self) -> ProductPurchaseDisplayProperties
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 ProductPurchaseDisplayProperties
impl Debug for ProductPurchaseDisplayProperties
§impl From<&ProductPurchaseDisplayProperties> for &IInspectable
impl From<&ProductPurchaseDisplayProperties> for &IInspectable
§fn from(value: &ProductPurchaseDisplayProperties) -> Self
fn from(value: &ProductPurchaseDisplayProperties) -> Self
Converts to this type from the input type.
§impl From<&ProductPurchaseDisplayProperties> for &IUnknown
impl From<&ProductPurchaseDisplayProperties> for &IUnknown
§fn from(value: &ProductPurchaseDisplayProperties) -> Self
fn from(value: &ProductPurchaseDisplayProperties) -> Self
Converts to this type from the input type.
§impl From<ProductPurchaseDisplayProperties> for IInspectable
impl From<ProductPurchaseDisplayProperties> for IInspectable
§fn from(value: ProductPurchaseDisplayProperties) -> Self
fn from(value: ProductPurchaseDisplayProperties) -> Self
Converts to this type from the input type.
§impl From<ProductPurchaseDisplayProperties> for IUnknown
impl From<ProductPurchaseDisplayProperties> for IUnknown
§fn from(value: ProductPurchaseDisplayProperties) -> Self
fn from(value: ProductPurchaseDisplayProperties) -> Self
Converts to this type from the input type.
§impl Interface for ProductPurchaseDisplayProperties
impl Interface for ProductPurchaseDisplayProperties
§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 ProductPurchaseDisplayProperties
impl PartialEq for ProductPurchaseDisplayProperties
§fn eq(&self, other: &ProductPurchaseDisplayProperties) -> bool
fn eq(&self, other: &ProductPurchaseDisplayProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProductPurchaseDisplayProperties
impl Send for ProductPurchaseDisplayProperties
impl StructuralPartialEq for ProductPurchaseDisplayProperties
impl Sync for ProductPurchaseDisplayProperties
Auto Trait Implementations§
impl RefUnwindSafe for ProductPurchaseDisplayProperties
impl Unpin for ProductPurchaseDisplayProperties
impl UnwindSafe for ProductPurchaseDisplayProperties
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