pub struct E2eiRefreshToken {
pub content: Vec<u8>,
}Expand description
OIDC refresh token used in E2EI
Fields§
§content: Vec<u8>Trait Implementations§
Source§impl Clone for E2eiRefreshToken
impl Clone for E2eiRefreshToken
Source§fn clone(&self) -> E2eiRefreshToken
fn clone(&self) -> E2eiRefreshToken
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 moreSource§impl Debug for E2eiRefreshToken
impl Debug for E2eiRefreshToken
Source§impl<'de> Deserialize<'de> for E2eiRefreshToken
impl<'de> Deserialize<'de> for E2eiRefreshToken
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 PartialEq for E2eiRefreshToken
impl PartialEq for E2eiRefreshToken
Source§fn eq(&self, other: &E2eiRefreshToken) -> bool
fn eq(&self, other: &E2eiRefreshToken) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for E2eiRefreshToken
impl Serialize for E2eiRefreshToken
Source§impl ToValue for E2eiRefreshToken
impl ToValue for E2eiRefreshToken
Source§impl Zeroize for E2eiRefreshToken
impl Zeroize for E2eiRefreshToken
impl Eq for E2eiRefreshToken
impl StructuralPartialEq for E2eiRefreshToken
Auto Trait Implementations§
impl Freeze for E2eiRefreshToken
impl RefUnwindSafe for E2eiRefreshToken
impl Send for E2eiRefreshToken
impl Sync for E2eiRefreshToken
impl Unpin for E2eiRefreshToken
impl UnsafeUnpin for E2eiRefreshToken
impl UnwindSafe for E2eiRefreshToken
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Entity for T
impl<T> Entity for T
Source§fn count(conn: &Connection) -> Result<u32, CryptoKeystoreError>
fn count(conn: &Connection) -> Result<u32, CryptoKeystoreError>
Count the number of entities of this type in the database.
Source§fn load_all(conn: &Connection) -> Result<Vec<T>, CryptoKeystoreError>
fn load_all(conn: &Connection) -> Result<Vec<T>, CryptoKeystoreError>
Retrieve all entities of this type from the database.
Source§const COLLECTION_NAME: &'static str = const COLLECTION_NAME: &'static str =
<Self as UniqueEntityImplementationHelper>::COLLECTION_NAME;
const COLLECTION_NAME: &'static str = const COLLECTION_NAME: &'static str = <Self as UniqueEntityImplementationHelper>::COLLECTION_NAME;
The table name for this entity
Source§fn get(
conn: &Connection,
key: &<T as PrimaryKey>::PrimaryKey,
) -> Result<Option<T>, CryptoKeystoreError>
fn get( conn: &Connection, key: &<T as PrimaryKey>::PrimaryKey, ) -> Result<Option<T>, CryptoKeystoreError>
Get an entity by its primary key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 moreSource§impl<T> PrimaryKey for Twhere
T: UniqueEntityImplementationHelper,
impl<T> PrimaryKey for Twhere
T: UniqueEntityImplementationHelper,
Source§type PrimaryKey = u64
type PrimaryKey = u64
Each distinct
PrimaryKey uniquely identifies either 0 or 1 instance. Read moreSource§fn primary_key(&self) -> <T as PrimaryKey>::PrimaryKey
fn primary_key(&self) -> <T as PrimaryKey>::PrimaryKey
Get this entity’s primary key. Read more