Struct etcd::BasicAuth [] [src]

pub struct BasicAuth {
    pub username: String,
    pub password: String,
}

A username and password to use for HTTP basic authentication.

Fields

The username to use for authentication.

The password to use for authentication.

Trait Implementations

impl Clone for BasicAuth
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BasicAuth
[src]

Formats the value using the given formatter.

impl Eq for BasicAuth
[src]

impl Hash for BasicAuth
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for BasicAuth
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.