[]Struct amadeus::source::postgres::_internal::params::User

pub struct User { /* fields omitted */ }

Authentication information.

Methods

impl User

pub fn name(&self) -> &str

The username.

pub fn password(&self) -> Option<&str>

An optional password.

Trait Implementations

impl Clone for User

impl Eq for User

impl Debug for User

impl Hash for User

impl PartialEq<User> for User

Auto Trait Implementations

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

impl RefUnwindSafe for User

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<A, B> Downcast<A> for B where
    A: DowncastImpl<B>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> IntersectPlusUnionIsPlus for T where
    T: ?Sized
[src]

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> FromBits<T> for T

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<T> Type for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err