pub struct AuthResponsePayload {
pub idToken: String,
pub refreshToken: String,
pub expiresIn: String,
}
Expand description
Authentication response from Firebase containing tokens and expiration.
This struct represents the response from Firebase authentication endpoints and contains the necessary tokens for database access.
§Fields
idToken
- The token used for database operationsrefreshToken
- Token used to obtain new credentialsexpiresIn
- Token lifetime in seconds
Fields§
§idToken: String
§refreshToken: String
§expiresIn: String
Trait Implementations§
Source§impl Clone for AuthResponsePayload
impl Clone for AuthResponsePayload
Source§fn clone(&self) -> AuthResponsePayload
fn clone(&self) -> AuthResponsePayload
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 AuthResponsePayload
impl Debug for AuthResponsePayload
Source§impl<'de> Deserialize<'de> for AuthResponsePayload
impl<'de> Deserialize<'de> for AuthResponsePayload
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 AuthResponsePayload
impl RefUnwindSafe for AuthResponsePayload
impl Send for AuthResponsePayload
impl Sync for AuthResponsePayload
impl Unpin for AuthResponsePayload
impl UnwindSafe for AuthResponsePayload
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