Struct tokio_postgres::params::UserInfo
[−]
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
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.