pub struct OidcConnection {
pub id: String,
pub identifier: String,
pub token_type: String,
pub access_token: SecretString,
pub refresh_token: Option<SecretString>,
pub id_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>§id_token: Option<SecretString>§expired_at: Option<DateTime<FixedOffset>>§scopes: Option<Vec<String>>§provider_id: String§user_id: StringTrait Implementations§
Source§impl Clone for OidcConnection
impl Clone for OidcConnection
Auto Trait Implementations§
impl Forget for OidcConnection
impl Freeze for OidcConnectionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const str is !null: Freeze,
PhantomData<str>: Freeze,
NonZero<i32>: Freeze,
FixedOffset: Freeze,
PhantomData<String>: Freeze,
impl Move for OidcConnection
impl RefUnwindSafe for OidcConnection
impl Send for OidcConnection
impl Sync for OidcConnection
impl Unpin for OidcConnection
impl UnsafeUnpin for OidcConnectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const str is !null: UnsafeUnpin,
PhantomData<str>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
FixedOffset: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OidcConnectionwhere
RawVecInner: UnwindSafe,
BoxRaw<str>: UnwindSafe,
NonZero<i32>: UnwindSafe,
FixedOffset: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more