pub struct FirebaseProvider {
pub sign_in_provider: String,
pub identities: Map<String, Value>,
}
Expand description
Firebase-specific metadata included in the token under the firebase
field.
This contains provider info and linked account identities (e.g., Google UID).
Fields§
§sign_in_provider: String
The main sign-in provider used (e.g., “google.com”, “password”)
identities: Map<String, Value>
A map of identity providers to a list of unique IDs (e.g., { "google.com": ["1234567890"] }
)
Trait Implementations§
Source§impl Clone for FirebaseProvider
impl Clone for FirebaseProvider
Source§fn clone(&self) -> FirebaseProvider
fn clone(&self) -> FirebaseProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FirebaseProvider
impl Debug for FirebaseProvider
Source§impl<'de> Deserialize<'de> for FirebaseProvider
impl<'de> Deserialize<'de> for FirebaseProvider
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FirebaseProvider
impl RefUnwindSafe for FirebaseProvider
impl Send for FirebaseProvider
impl Sync for FirebaseProvider
impl Unpin for FirebaseProvider
impl UnwindSafe for FirebaseProvider
Blanket Implementations§
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