pub struct User(/* private fields */);
Implementations§
§impl User
impl User
pub fn NonRoamableId(&self) -> Result<HSTRING>
pub fn AuthenticationStatus(&self) -> Result<UserAuthenticationStatus>
pub fn Type(&self) -> Result<UserType>
pub fn GetPropertyAsync( &self, value: &HSTRING ) -> Result<IAsyncOperation<IInspectable>>
pub fn GetPropertiesAsync<P0>(
&self,
values: P0
) -> Result<IAsyncOperation<IPropertySet>>where
P0: IntoParam<IVectorView<HSTRING>>,
pub fn GetPictureAsync( &self, desiredsize: UserPictureSize ) -> Result<IAsyncOperation<IRandomAccessStreamReference>>
pub fn CheckUserAgeConsentGroupAsync( &self, consentgroup: UserAgeConsentGroup ) -> Result<IAsyncOperation<UserAgeConsentResult>>
pub fn CreateWatcher() -> Result<UserWatcher>
pub fn FindAllAsync() -> Result<IAsyncOperation<IVectorView<User>>>
pub fn FindAllAsyncByType( type: UserType ) -> Result<IAsyncOperation<IVectorView<User>>>
pub fn FindAllAsyncByTypeAndStatus( type: UserType, status: UserAuthenticationStatus ) -> Result<IAsyncOperation<IVectorView<User>>>
pub fn GetFromId(nonroamableid: &HSTRING) -> Result<User>
pub fn GetDefault() -> Result<User>
Trait Implementations§
§impl From<&User> for &IInspectable
impl From<&User> for &IInspectable
§impl From<User> for IInspectable
impl From<User> for IInspectable
§impl Interface for User
impl Interface for User
§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 moreimpl Eq for User
impl Send for User
impl StructuralPartialEq for User
impl Sync for User
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