Struct postgres::params::User
[−]
[src]
pub struct User { /* fields omitted */ }
Authentication information.
Methods
impl User
[src]
fn name(&self) -> &str
[src]
The username.
fn password(&self) -> Option<&str>
[src]
An optional password.
Trait Implementations
impl Hash for User
[src]
impl Clone for User
[src]
fn clone(&self) -> User
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for User
[src]
impl PartialEq<User> for User
[src]
fn eq(&self, __arg_0: &User) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &User) -> bool
[src]
This method tests for !=
.