pub struct AuthCredential {
pub name: &'static str,
pub kind: CredentialKind,
pub required: bool,
}Fields§
§name: &'static str§kind: CredentialKind§required: boolTrait Implementations§
Source§impl Clone for AuthCredential
impl Clone for AuthCredential
Source§fn clone(&self) -> AuthCredential
fn clone(&self) -> AuthCredential
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthCredential
Source§impl Debug for AuthCredential
impl Debug for AuthCredential
impl Eq for AuthCredential
Source§impl PartialEq for AuthCredential
impl PartialEq for AuthCredential
Source§fn eq(&self, other: &AuthCredential) -> bool
fn eq(&self, other: &AuthCredential) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthCredential
impl Serialize for AuthCredential
impl StructuralPartialEq for AuthCredential
Auto Trait Implementations§
impl Freeze for AuthCredential
impl RefUnwindSafe for AuthCredential
impl Send for AuthCredential
impl Sync for AuthCredential
impl Unpin for AuthCredential
impl UnsafeUnpin for AuthCredential
impl UnwindSafe for AuthCredential
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