Struct postgres::UserInfo [] [src]

pub struct UserInfo {
    pub user: String,
    pub password: Option<String>,
}

Authentication information.

Fields

user: String

The username.

password: Option<String>

An optional password.

Trait Implementations

impl Debug for UserInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for UserInfo
[src]

fn clone(&self) -> UserInfo

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