Struct windows::ApplicationModel::Contacts::ContactStore
pub struct ContactStore(/* private fields */);
Implementations§
§impl ContactStore
impl ContactStore
pub fn FindContactsAsync(&self) -> Result<IAsyncOperation<IVectorView<Contact>>>
pub fn FindContactsWithSearchTextAsync( &self, searchtext: &HSTRING ) -> Result<IAsyncOperation<IVectorView<Contact>>>
pub fn GetContactAsync( &self, contactid: &HSTRING ) -> Result<IAsyncOperation<Contact>>
pub fn ChangeTracker(&self) -> Result<ContactChangeTracker>
pub fn ContactChanged<P0>(&self, value: P0) -> Result<EventRegistrationToken>
pub fn RemoveContactChanged(&self, value: EventRegistrationToken) -> Result<()>
pub fn AggregateContactManager(&self) -> Result<AggregateContactManager>
pub fn FindContactListsAsync( &self ) -> Result<IAsyncOperation<IVectorView<ContactList>>>
pub fn GetContactListAsync( &self, contactlistid: &HSTRING ) -> Result<IAsyncOperation<ContactList>>
pub fn CreateContactListAsync( &self, displayname: &HSTRING ) -> Result<IAsyncOperation<ContactList>>
pub fn GetMeContactAsync(&self) -> Result<IAsyncOperation<Contact>>
pub fn GetContactReader(&self) -> Result<ContactReader>
pub fn GetContactReaderWithOptions<P0>(
&self,
options: P0
) -> Result<ContactReader>where
P0: IntoParam<ContactQueryOptions>,
pub fn CreateContactListInAccountAsync( &self, displayname: &HSTRING, userdataaccountid: &HSTRING ) -> Result<IAsyncOperation<ContactList>>
pub fn GetChangeTracker( &self, identity: &HSTRING ) -> Result<ContactChangeTracker>
Trait Implementations§
§impl Clone for ContactStore
impl Clone for ContactStore
§fn clone(&self) -> ContactStore
fn clone(&self) -> ContactStore
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 ContactStore
impl Debug for ContactStore
§impl From<&ContactStore> for &IInspectable
impl From<&ContactStore> for &IInspectable
§fn from(value: &ContactStore) -> Self
fn from(value: &ContactStore) -> Self
Converts to this type from the input type.
§impl From<&ContactStore> for &IUnknown
impl From<&ContactStore> for &IUnknown
§fn from(value: &ContactStore) -> Self
fn from(value: &ContactStore) -> Self
Converts to this type from the input type.
§impl From<ContactStore> for IInspectable
impl From<ContactStore> for IInspectable
§fn from(value: ContactStore) -> Self
fn from(value: ContactStore) -> Self
Converts to this type from the input type.
§impl From<ContactStore> for IUnknown
impl From<ContactStore> for IUnknown
§fn from(value: ContactStore) -> Self
fn from(value: ContactStore) -> Self
Converts to this type from the input type.
§impl Interface for ContactStore
impl Interface for ContactStore
§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 ContactStore
impl PartialEq for ContactStore
§fn eq(&self, other: &ContactStore) -> bool
fn eq(&self, other: &ContactStore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContactStore
impl Send for ContactStore
impl StructuralPartialEq for ContactStore
impl Sync for ContactStore
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