pub struct UserRecord {
pub uid: String,
pub email: Option<String>,
pub email_verified: bool,
pub display_name: Option<String>,
pub disabled: bool,
pub custom_claims: Map<String, Value>,
}Expand description
A Firebase user record.
Fields§
§uid: StringThe user’s unique Firebase id.
email: Option<String>The user’s email address, if set.
email_verified: boolWhether the user’s email address has been verified.
display_name: Option<String>The user’s display name, if set.
disabled: boolWhether the user account is disabled.
custom_claims: Map<String, Value>Custom claims attached to this user via crate::auth::AuthClient
custom-claims operations.
Trait Implementations§
Source§impl Clone for UserRecord
impl Clone for UserRecord
Source§fn clone(&self) -> UserRecord
fn clone(&self) -> UserRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UserRecord
impl RefUnwindSafe for UserRecord
impl Send for UserRecord
impl Sync for UserRecord
impl Unpin for UserRecord
impl UnsafeUnpin for UserRecord
impl UnwindSafe for UserRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more