[][src]Struct firestore_db_and_auth::users::FirebaseAuthUser

pub struct FirebaseAuthUser {
    pub localId: Option<String>,
    pub email: Option<String>,
    pub emailVerified: Option<bool>,
    pub displayName: Option<String>,
    pub providerUserInfo: Option<Vec<ProviderUserInfo>>,
    pub photoUrl: Option<String>,
    pub disabled: Option<bool>,
    pub lastLoginAt: Option<String>,
    pub createdAt: Option<String>,
    pub customAuth: Option<bool>,
}

Users id, email, display name and a few more information

Fields

localId: Option<String>email: Option<String>emailVerified: Option<bool>

True if the user has verified his email address

displayName: Option<String>providerUserInfo: Option<Vec<ProviderUserInfo>>

Find all federated services like Facebook, Github etc that the user has used to authenticated himself and that he associated with this firebase auth account.

photoUrl: Option<String>disabled: Option<bool>

True if the account is disabled. A disabled account cannot login anymore.

lastLoginAt: Option<String>

Last login datetime in UTC

createdAt: Option<String>

Created datetime in UTC

customAuth: Option<bool>

True if email/password login have been used

Trait Implementations

impl Default for FirebaseAuthUser[src]

impl Debug for FirebaseAuthUser[src]

impl Serialize for FirebaseAuthUser[src]

impl<'de> Deserialize<'de> for FirebaseAuthUser[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

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

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

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,