Struct eventstore_tcp::UsernamePassword
[−]
[src]
pub struct UsernamePassword(_, _);
Username and password authentication token embedded in requests as there is no concept of session in the TCP protocol, every request must be authenticated.
Methods
impl UsernamePassword[src]
fn new<S: Into<Cow<'static, str>>>(username: S, password: S) -> UsernamePassword
Create a new value
Trait Implementations
impl Clone for UsernamePassword[src]
fn clone(&self) -> UsernamePassword
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for UsernamePassword[src]
fn eq(&self, __arg_0: &UsernamePassword) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UsernamePassword) -> bool
This method tests for !=.