pub enum AuthenticationMethod {
None,
Password {
username: String,
password: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for AuthenticationMethod
impl Debug for AuthenticationMethod
source§impl Display for AuthenticationMethod
impl Display for AuthenticationMethod
source§impl PartialEq for AuthenticationMethod
impl PartialEq for AuthenticationMethod
source§fn eq(&self, other: &AuthenticationMethod) -> bool
fn eq(&self, other: &AuthenticationMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticationMethod
Auto Trait Implementations§
impl Freeze for AuthenticationMethod
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
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