Struct exar_server::Credentials [] [src]

pub struct Credentials {
    pub username: Option<String>,
    pub password: Option<String>,
}

A structure containing credentials.

Fields

The username.

The password.

Methods

impl Credentials
[src]

Creates new Credentials.

Returns empty Credentials.

Trait Implementations

impl Clone for Credentials
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Credentials
[src]

Formats the value using the given formatter.

impl PartialEq for Credentials
[src]

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

This method tests for !=.

impl Eq for Credentials
[src]