Struct sspi::AuthIdentity
source · pub struct AuthIdentity {
pub username: Username,
pub password: Secret<String>,
}
Expand description
Allows you to pass a particular user name and password to the run-time library for the purpose of authentication
§MSDN
Fields§
§username: Username
§password: Secret<String>
Trait Implementations§
source§impl Clone for AuthIdentity
impl Clone for AuthIdentity
source§fn clone(&self) -> AuthIdentity
fn clone(&self) -> AuthIdentity
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 moresource§impl Debug for AuthIdentity
impl Debug for AuthIdentity
source§impl From<AuthIdentity> for AuthIdentityBuffers
impl From<AuthIdentity> for AuthIdentityBuffers
source§fn from(credentials: AuthIdentity) -> Self
fn from(credentials: AuthIdentity) -> Self
Converts to this type from the input type.
source§impl From<AuthIdentity> for Credentials
impl From<AuthIdentity> for Credentials
source§fn from(value: AuthIdentity) -> Self
fn from(value: AuthIdentity) -> Self
Converts to this type from the input type.
source§impl PartialEq for AuthIdentity
impl PartialEq for AuthIdentity
source§fn eq(&self, other: &AuthIdentity) -> bool
fn eq(&self, other: &AuthIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&AuthIdentityBuffers> for AuthIdentity
impl TryFrom<&AuthIdentityBuffers> for AuthIdentity
source§impl TryFrom<AuthIdentityBuffers> for AuthIdentity
impl TryFrom<AuthIdentityBuffers> for AuthIdentity
impl Eq for AuthIdentity
impl StructuralPartialEq for AuthIdentity
Auto Trait Implementations§
impl Freeze for AuthIdentity
impl RefUnwindSafe for AuthIdentity
impl Send for AuthIdentity
impl Sync for AuthIdentity
impl Unpin for AuthIdentity
impl UnwindSafe for AuthIdentity
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