Struct windows::Security::Credentials::PasswordVault
pub struct PasswordVault(/* private fields */);
Implementations§
§impl PasswordVault
impl PasswordVault
pub fn new() -> Result<Self>
pub fn Add<P0>(&self, credential: P0) -> Result<()>where
P0: IntoParam<PasswordCredential>,
pub fn Remove<P0>(&self, credential: P0) -> Result<()>where
P0: IntoParam<PasswordCredential>,
pub fn Retrieve( &self, resource: &HSTRING, username: &HSTRING ) -> Result<PasswordCredential>
pub fn FindAllByResource( &self, resource: &HSTRING ) -> Result<IVectorView<PasswordCredential>>
pub fn FindAllByUserName( &self, username: &HSTRING ) -> Result<IVectorView<PasswordCredential>>
pub fn RetrieveAll(&self) -> Result<IVectorView<PasswordCredential>>
Trait Implementations§
§impl Clone for PasswordVault
impl Clone for PasswordVault
§fn clone(&self) -> PasswordVault
fn clone(&self) -> PasswordVault
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 PasswordVault
impl Debug for PasswordVault
§impl From<&PasswordVault> for &IInspectable
impl From<&PasswordVault> for &IInspectable
§fn from(value: &PasswordVault) -> Self
fn from(value: &PasswordVault) -> Self
Converts to this type from the input type.
§impl From<&PasswordVault> for &IUnknown
impl From<&PasswordVault> for &IUnknown
§fn from(value: &PasswordVault) -> Self
fn from(value: &PasswordVault) -> Self
Converts to this type from the input type.
§impl From<PasswordVault> for IInspectable
impl From<PasswordVault> for IInspectable
§fn from(value: PasswordVault) -> Self
fn from(value: PasswordVault) -> Self
Converts to this type from the input type.
§impl From<PasswordVault> for IUnknown
impl From<PasswordVault> for IUnknown
§fn from(value: PasswordVault) -> Self
fn from(value: PasswordVault) -> Self
Converts to this type from the input type.
§impl Interface for PasswordVault
impl Interface for PasswordVault
§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 PasswordVault
impl PartialEq for PasswordVault
§fn eq(&self, other: &PasswordVault) -> bool
fn eq(&self, other: &PasswordVault) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PasswordVault
impl Send for PasswordVault
impl StructuralPartialEq for PasswordVault
impl Sync for PasswordVault
Auto Trait Implementations§
impl RefUnwindSafe for PasswordVault
impl Unpin for PasswordVault
impl UnwindSafe for PasswordVault
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