Struct cdrs::authenticators::PasswordAuthenticator
source · pub struct PasswordAuthenticator<'a> { /* private fields */ }
Implementations§
source§impl<'a> PasswordAuthenticator<'a>
impl<'a> PasswordAuthenticator<'a>
pub fn new<'b>(username: &'b str, password: &'b str) -> PasswordAuthenticator<'b>
Trait Implementations§
source§impl<'a> Authenticator for PasswordAuthenticator<'a>
impl<'a> Authenticator for PasswordAuthenticator<'a>
fn get_auth_token(&self) -> CBytes
fn get_cassandra_name(&self) -> Option<&str>
source§impl<'a> Clone for PasswordAuthenticator<'a>
impl<'a> Clone for PasswordAuthenticator<'a>
source§fn clone(&self) -> PasswordAuthenticator<'a>
fn clone(&self) -> PasswordAuthenticator<'a>
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