Struct IContactProperties
pub struct IContactProperties(/* private fields */);
Implementations§
§impl IContactProperties
impl IContactProperties
pub unsafe fn GetString<P0>(
&self,
pszpropertyname: P0,
dwflags: u32,
pszvalue: &mut [u16],
pdwcchpropertyvaluerequired: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetDate<P0>(
&self,
pszpropertyname: P0,
dwflags: u32,
pftdatetime: *mut FILETIME,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetBinary<P0>(
&self,
pszpropertyname: P0,
dwflags: u32,
pszcontenttype: &mut [u16],
pdwcchcontenttyperequired: *mut u32,
ppstream: *mut Option<IStream>,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetLabels<P0>(
&self,
pszarrayelementname: P0,
dwflags: u32,
pszlabels: &mut [u16],
pdwcchlabelsrequired: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetString<P0, P2>(
&self,
pszpropertyname: P0,
dwflags: u32,
pszvalue: P2,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn SetDate<P0>(
&self,
pszpropertyname: P0,
dwflags: u32,
ftdatetime: FILETIME,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetBinary<P0, P2, P3>(
&self,
pszpropertyname: P0,
dwflags: u32,
pszcontenttype: P2,
pstream: P3,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
P3: Param<IStream>,
pub unsafe fn SetLabels<P0>(
&self,
pszarrayelementname: P0,
dwflags: u32,
ppszlabels: &[PCWSTR],
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn CreateArrayNode<P0>(
&self,
pszarrayname: P0,
dwflags: u32,
fappend: bool,
psznewarrayelementname: &mut [u16],
pdwcchnewarrayelementnamerequired: *mut u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteProperty<P0>(
&self,
pszpropertyname: P0,
dwflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteArrayNode<P0>(
&self,
pszarrayelementname: P0,
dwflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn DeleteLabels<P0>(
&self,
pszarrayelementname: P0,
dwflags: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetPropertyCollection<P2>(
&self,
pppropertycollection: *mut Option<IContactPropertyCollection>,
dwflags: u32,
pszmultivaluename: P2,
ppszlabels: &[PCWSTR],
fanylabelmatches: bool,
) -> Result<()>where
P2: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IUnknown> for IContactProperties
impl CanInto<IUnknown> for IContactProperties
§impl Clone for IContactProperties
impl Clone for IContactProperties
§fn clone(&self) -> IContactProperties
fn clone(&self) -> IContactProperties
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 IContactProperties
impl Debug for IContactProperties
§impl From<&IContactProperties> for &IUnknown
impl From<&IContactProperties> for &IUnknown
§fn from(value: &IContactProperties) -> Self
fn from(value: &IContactProperties) -> Self
Converts to this type from the input type.
§impl From<IContactProperties> for IUnknown
impl From<IContactProperties> for IUnknown
§fn from(value: IContactProperties) -> Self
fn from(value: IContactProperties) -> Self
Converts to this type from the input type.
§impl Interface for IContactProperties
impl Interface for IContactProperties
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IContactProperties
impl PartialEq for IContactProperties
impl Eq for IContactProperties
impl StructuralPartialEq for IContactProperties
Auto Trait Implementations§
impl Freeze for IContactProperties
impl RefUnwindSafe for IContactProperties
impl !Send for IContactProperties
impl !Sync for IContactProperties
impl Unpin for IContactProperties
impl UnwindSafe for IContactProperties
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