Struct windows::Security::Authentication::Web::Core::WebTokenResponse
pub struct WebTokenResponse(/* private fields */);
Implementations§
§impl WebTokenResponse
impl WebTokenResponse
pub fn new() -> Result<Self>
pub fn Token(&self) -> Result<HSTRING>
pub fn ProviderError(&self) -> Result<WebProviderError>
pub fn WebAccount(&self) -> Result<WebAccount>
pub fn Properties(&self) -> Result<IMap<HSTRING, HSTRING>>
pub fn CreateWithToken(token: &HSTRING) -> Result<WebTokenResponse>
pub fn CreateWithTokenAndAccount<P0>(
token: &HSTRING,
webaccount: P0
) -> Result<WebTokenResponse>where
P0: IntoParam<WebAccount>,
pub fn CreateWithTokenAccountAndError<P0, P1>(
token: &HSTRING,
webaccount: P0,
error: P1
) -> Result<WebTokenResponse>where
P0: IntoParam<WebAccount>,
P1: IntoParam<WebProviderError>,
Trait Implementations§
§impl Clone for WebTokenResponse
impl Clone for WebTokenResponse
§fn clone(&self) -> WebTokenResponse
fn clone(&self) -> WebTokenResponse
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 WebTokenResponse
impl Debug for WebTokenResponse
§impl From<&WebTokenResponse> for &IInspectable
impl From<&WebTokenResponse> for &IInspectable
§fn from(value: &WebTokenResponse) -> Self
fn from(value: &WebTokenResponse) -> Self
Converts to this type from the input type.
§impl From<&WebTokenResponse> for &IUnknown
impl From<&WebTokenResponse> for &IUnknown
§fn from(value: &WebTokenResponse) -> Self
fn from(value: &WebTokenResponse) -> Self
Converts to this type from the input type.
§impl From<WebTokenResponse> for IInspectable
impl From<WebTokenResponse> for IInspectable
§fn from(value: WebTokenResponse) -> Self
fn from(value: WebTokenResponse) -> Self
Converts to this type from the input type.
§impl From<WebTokenResponse> for IUnknown
impl From<WebTokenResponse> for IUnknown
§fn from(value: WebTokenResponse) -> Self
fn from(value: WebTokenResponse) -> Self
Converts to this type from the input type.
§impl Interface for WebTokenResponse
impl Interface for WebTokenResponse
§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 WebTokenResponse
impl PartialEq for WebTokenResponse
§fn eq(&self, other: &WebTokenResponse) -> bool
fn eq(&self, other: &WebTokenResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WebTokenResponse
impl Send for WebTokenResponse
impl StructuralPartialEq for WebTokenResponse
impl Sync for WebTokenResponse
Auto Trait Implementations§
impl RefUnwindSafe for WebTokenResponse
impl Unpin for WebTokenResponse
impl UnwindSafe for WebTokenResponse
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