pub struct OAuthTokenSnapshot {
pub id: String,
pub user_id: String,
pub provider_id: String,
pub account_id: String,
pub tokens: OAuthTokenValues,
}Expand description
Exact physical values reviewed in a trusted ownership manifest.
Ciphertext authentication does not prove historical ownership. Operators must establish that separately before constructing this snapshot. Do not log snapshots: they may contain plaintext credentials.
Fields§
§id: String§user_id: String§provider_id: String§account_id: String§tokens: OAuthTokenValuesTrait Implementations§
Source§impl Clone for OAuthTokenSnapshot
impl Clone for OAuthTokenSnapshot
Source§fn clone(&self) -> OAuthTokenSnapshot
fn clone(&self) -> OAuthTokenSnapshot
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 moreAuto Trait Implementations§
impl Freeze for OAuthTokenSnapshot
impl RefUnwindSafe for OAuthTokenSnapshot
impl Send for OAuthTokenSnapshot
impl Sync for OAuthTokenSnapshot
impl Unpin for OAuthTokenSnapshot
impl UnsafeUnpin for OAuthTokenSnapshot
impl UnwindSafe for OAuthTokenSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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