Struct exar_server::Credentials
[−]
[src]
pub struct Credentials {
pub username: Option<String>,
pub password: Option<String>,
}A structure containing credentials.
Fields
username: Option<String>
The username.
password: Option<String>
The password.
Methods
impl Credentials[src]
fn new(username: &str, password: &str) -> Credentials
Creates new Credentials.
fn empty() -> Credentials
Returns empty Credentials.
Trait Implementations
impl Eq for Credentials[src]
impl PartialEq for Credentials[src]
fn eq(&self, __arg_0: &Credentials) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Credentials) -> bool
This method tests for !=.
impl Debug for Credentials[src]
impl Clone for Credentials[src]
fn clone(&self) -> Credentials
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