pub struct OauthConnection {
pub id: String,
pub identifier: String,
pub token_type: String,
pub access_token: SecretString,
pub refresh_token: Option<SecretString>,
pub expired_at: Option<DateTime<FixedOffset>>,
pub scopes: Option<Vec<String>>,
pub provider_id: String,
pub user_id: String,
}Fields§
§id: String§identifier: String§token_type: String§access_token: SecretString§refresh_token: Option<SecretString>§expired_at: Option<DateTime<FixedOffset>>§scopes: Option<Vec<String>>§provider_id: String§user_id: StringTrait Implementations§
Source§impl Clone for OauthConnection
impl Clone for OauthConnection
Source§fn clone(&self) -> OauthConnection
fn clone(&self) -> OauthConnection
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 moreAuto Trait Implementations§
impl Freeze for OauthConnection
impl RefUnwindSafe for OauthConnection
impl Send for OauthConnection
impl Sync for OauthConnection
impl Unpin for OauthConnection
impl UnwindSafe for OauthConnection
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