pub struct UserDataAccount(/* private fields */);
Implementations§
§impl UserDataAccount
impl UserDataAccount
pub fn Id(&self) -> Result<HSTRING>
pub fn UserDisplayName(&self) -> Result<HSTRING>
pub fn SetUserDisplayName(&self, value: &HSTRING) -> Result<()>
pub fn OtherAppReadAccess(&self) -> Result<UserDataAccountOtherAppReadAccess>
pub fn SetOtherAppReadAccess( &self, value: UserDataAccountOtherAppReadAccess, ) -> Result<()>
pub fn Icon(&self) -> Result<IRandomAccessStreamReference>
pub fn DeviceAccountTypeId(&self) -> Result<HSTRING>
pub fn PackageFamilyName(&self) -> Result<HSTRING>
pub fn SaveAsync(&self) -> Result<IAsyncAction>
pub fn DeleteAsync(&self) -> Result<IAsyncAction>
pub fn FindAppointmentCalendarsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<AppointmentCalendar>>>
pub fn FindEmailMailboxesAsync( &self, ) -> Result<IAsyncOperation<IVectorView<EmailMailbox>>>
pub fn FindContactListsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<ContactList>>>
pub fn FindContactAnnotationListsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<ContactAnnotationList>>>
pub fn EnterpriseId(&self) -> Result<HSTRING>
pub fn IsProtectedUnderLock(&self) -> Result<bool>
pub fn ExplictReadAccessPackageFamilyNames(&self) -> Result<IVector<HSTRING>>
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn SetDisplayName(&self, value: &HSTRING) -> Result<()>
pub fn CanShowCreateContactGroup(&self) -> Result<bool>
pub fn SetCanShowCreateContactGroup(&self, value: bool) -> Result<()>
pub fn ProviderProperties(&self) -> Result<IPropertySet>
pub fn FindUserDataTaskListsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<UserDataTaskList>>>
pub fn FindContactGroupsAsync( &self, ) -> Result<IAsyncOperation<IVectorView<ContactGroup>>>
pub fn TryShowCreateContactGroupAsync(&self) -> Result<IAsyncOperation<HSTRING>>
pub fn SetIsProtectedUnderLock(&self, value: bool) -> Result<()>
pub fn SetIcon<P0>(&self, value: P0) -> Result<()>where
P0: Param<IRandomAccessStreamReference>,
Trait Implementations§
§impl CanInto<IInspectable> for UserDataAccount
impl CanInto<IInspectable> for UserDataAccount
§impl CanInto<IUnknown> for UserDataAccount
impl CanInto<IUnknown> for UserDataAccount
§impl Clone for UserDataAccount
impl Clone for UserDataAccount
§fn clone(&self) -> UserDataAccount
fn clone(&self) -> UserDataAccount
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 UserDataAccount
impl Debug for UserDataAccount
§impl From<&UserDataAccount> for &IInspectable
impl From<&UserDataAccount> for &IInspectable
§fn from(value: &UserDataAccount) -> Self
fn from(value: &UserDataAccount) -> Self
Converts to this type from the input type.
§impl From<&UserDataAccount> for &IUnknown
impl From<&UserDataAccount> for &IUnknown
§fn from(value: &UserDataAccount) -> Self
fn from(value: &UserDataAccount) -> Self
Converts to this type from the input type.
§impl From<UserDataAccount> for IInspectable
impl From<UserDataAccount> for IInspectable
§fn from(value: UserDataAccount) -> Self
fn from(value: UserDataAccount) -> Self
Converts to this type from the input type.
§impl From<UserDataAccount> for IUnknown
impl From<UserDataAccount> for IUnknown
§fn from(value: UserDataAccount) -> Self
fn from(value: UserDataAccount) -> Self
Converts to this type from the input type.
§impl Interface for UserDataAccount
impl Interface for UserDataAccount
§const IID: GUID = <IUserDataAccount as windows_core::Interface>::IID
const IID: GUID = <IUserDataAccount as windows_core::Interface>::IID
The
GUID
associated with the interface.§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§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 UserDataAccount
impl PartialEq for UserDataAccount
§fn eq(&self, other: &UserDataAccount) -> bool
fn eq(&self, other: &UserDataAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserDataAccount
impl Send for UserDataAccount
impl StructuralPartialEq for UserDataAccount
impl Sync for UserDataAccount
Auto Trait Implementations§
impl Freeze for UserDataAccount
impl RefUnwindSafe for UserDataAccount
impl Unpin for UserDataAccount
impl UnwindSafe for UserDataAccount
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)