#[non_exhaustive]pub enum ImpersonationTokenState {
All,
Active,
Inactive,
}
Expand description
States of impersonation tokens.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
All states.
Active
Filter to return only active tokens.
Inactive
Filter to return only inactive tokens.
Trait Implementations§
source§impl Clone for ImpersonationTokenState
impl Clone for ImpersonationTokenState
source§fn clone(&self) -> ImpersonationTokenState
fn clone(&self) -> ImpersonationTokenState
Returns a copy 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 moresource§impl Debug for ImpersonationTokenState
impl Debug for ImpersonationTokenState
source§impl Hash for ImpersonationTokenState
impl Hash for ImpersonationTokenState
source§impl ParamValue<'static> for ImpersonationTokenState
impl ParamValue<'static> for ImpersonationTokenState
source§impl PartialEq for ImpersonationTokenState
impl PartialEq for ImpersonationTokenState
source§fn eq(&self, other: &ImpersonationTokenState) -> bool
fn eq(&self, other: &ImpersonationTokenState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImpersonationTokenState
impl Eq for ImpersonationTokenState
impl StructuralPartialEq for ImpersonationTokenState
Auto Trait Implementations§
impl Freeze for ImpersonationTokenState
impl RefUnwindSafe for ImpersonationTokenState
impl Send for ImpersonationTokenState
impl Sync for ImpersonationTokenState
impl Unpin for ImpersonationTokenState
impl UnwindSafe for ImpersonationTokenState
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.