Struct postgres_shared::params::User [−][src]
pub struct User { /* fields omitted */ }Authentication information.
Methods
impl User[src]
impl Userpub fn name(&self) -> &str[src]
pub fn name(&self) -> &strThe username.
pub fn password(&self) -> Option<&str>[src]
pub fn password(&self) -> Option<&str>An optional password.
Trait Implementations
impl Clone for User[src]
impl Clone for Userfn clone(&self) -> User[src]
fn clone(&self) -> UserReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for User[src]
impl Debug for Userfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for User[src]
impl PartialEq for Userfn eq(&self, other: &User) -> bool[src]
fn eq(&self, other: &User) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &User) -> bool[src]
fn ne(&self, other: &User) -> boolThis method tests for !=.
impl Eq for User[src]
impl Eq for Userimpl Hash for User[src]
impl Hash for User