pub struct CreateOauthConnection {
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§
§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 CreateOauthConnection
impl Clone for CreateOauthConnection
Source§fn clone(&self) -> CreateOauthConnection
fn clone(&self) -> CreateOauthConnection
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 CreateOauthConnection
impl RefUnwindSafe for CreateOauthConnection
impl Send for CreateOauthConnection
impl Sync for CreateOauthConnection
impl Unpin for CreateOauthConnection
impl UnwindSafe for CreateOauthConnection
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