pub struct SupabaseAuthResponse {
pub access_token: String,
pub token_type: String,
pub expires_in: Option<i64>,
pub refresh_token: Option<String>,
pub user: Value,
}Expand description
Response from Supabase Auth sign-up/sign-in
Fields§
§access_token: StringAccess token
token_type: StringToken type
expires_in: Option<i64>Expires in
refresh_token: Option<String>Refresh token
user: ValueUser
Trait Implementations§
Source§impl Clone for SupabaseAuthResponse
impl Clone for SupabaseAuthResponse
Source§fn clone(&self) -> SupabaseAuthResponse
fn clone(&self) -> SupabaseAuthResponse
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 moreSource§impl Debug for SupabaseAuthResponse
impl Debug for SupabaseAuthResponse
Source§impl<'de> Deserialize<'de> for SupabaseAuthResponse
impl<'de> Deserialize<'de> for SupabaseAuthResponse
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 SupabaseAuthResponse
impl RefUnwindSafe for SupabaseAuthResponse
impl Send for SupabaseAuthResponse
impl Sync for SupabaseAuthResponse
impl Unpin for SupabaseAuthResponse
impl UnsafeUnpin for SupabaseAuthResponse
impl UnwindSafe for SupabaseAuthResponse
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