pub struct OAuthProfile {
pub additional_fields: FieldMap,
pub email: Option<SchemaValue<Option<String>>>,
pub name: Option<SchemaValue<Option<String>>>,
pub image: Option<Option<String>>,
pub email_verified: Option<SchemaValue<Option<bool>>>,
}Expand description
Local profile fields; provider account identity is resolved separately.
Fields§
§additional_fields: FieldMapApplication user fields supplied by the profile mapper.
email: Option<SchemaValue<Option<String>>>Leave the email unchanged with None, or override its string/null/undefined value.
name: Option<SchemaValue<Option<String>>>Leave the name unchanged with None, or override its string/null/undefined value.
image: Option<Option<String>>Override the profile image; Some(None) clears the provider value.
email_verified: Option<SchemaValue<Option<bool>>>Leave verification unchanged with None, or override its boolean/null/undefined value.
Trait Implementations§
Source§impl Clone for OAuthProfile
impl Clone for OAuthProfile
Source§impl Debug for OAuthProfile
impl Debug for OAuthProfile
Auto Trait Implementations§
impl Freeze for OAuthProfile
impl RefUnwindSafe for OAuthProfile
impl Send for OAuthProfile
impl Sync for OAuthProfile
impl Unpin for OAuthProfile
impl UnsafeUnpin for OAuthProfile
impl UnwindSafe for OAuthProfile
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