pub struct StaticPasswordAuthenticator { /* private fields */ }
Implementations§
source§impl StaticPasswordAuthenticator
impl StaticPasswordAuthenticator
pub fn new<S: ToString>(username: S, password: S) -> StaticPasswordAuthenticator
Trait Implementations§
source§impl Clone for StaticPasswordAuthenticator
impl Clone for StaticPasswordAuthenticator
source§fn clone(&self) -> StaticPasswordAuthenticator
fn clone(&self) -> StaticPasswordAuthenticator
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