pub struct RefreshTokenId(/* private fields */);Expand description
Unique identifier for an OAuth 2.0 refresh token row.
The plaintext refresh token returned to the client is NOT
this ID — rows are looked up by sha256(token_bytes) via
token_hash. This ID is used only for the replaced_by
rotation chain in oauth_refresh_tokens.
Implementations§
Trait Implementations§
Source§impl Clone for RefreshTokenId
impl Clone for RefreshTokenId
Source§fn clone(&self) -> RefreshTokenId
fn clone(&self) -> RefreshTokenId
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 moreimpl Copy for RefreshTokenId
Source§impl Debug for RefreshTokenId
impl Debug for RefreshTokenId
Source§impl Default for RefreshTokenId
impl Default for RefreshTokenId
Source§impl<'de> Deserialize<'de> for RefreshTokenId
impl<'de> Deserialize<'de> for RefreshTokenId
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
Source§impl Display for RefreshTokenId
impl Display for RefreshTokenId
impl Eq for RefreshTokenId
Source§impl From<RefreshTokenId> for Uuid
impl From<RefreshTokenId> for Uuid
Source§fn from(id: RefreshTokenId) -> Self
fn from(id: RefreshTokenId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for RefreshTokenId
impl From<Uuid> for RefreshTokenId
Source§impl Hash for RefreshTokenId
impl Hash for RefreshTokenId
Source§impl Ord for RefreshTokenId
impl Ord for RefreshTokenId
Source§fn cmp(&self, other: &RefreshTokenId) -> Ordering
fn cmp(&self, other: &RefreshTokenId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RefreshTokenId
impl PartialEq for RefreshTokenId
Source§impl PartialOrd for RefreshTokenId
impl PartialOrd for RefreshTokenId
Source§impl Serialize for RefreshTokenId
impl Serialize for RefreshTokenId
impl StructuralPartialEq for RefreshTokenId
Auto Trait Implementations§
impl Freeze for RefreshTokenId
impl RefUnwindSafe for RefreshTokenId
impl Send for RefreshTokenId
impl Sync for RefreshTokenId
impl Unpin for RefreshTokenId
impl UnsafeUnpin for RefreshTokenId
impl UnwindSafe for RefreshTokenId
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