pub enum ImpersonationTokenState {
All,
Active,
Inactive,
}Expand description
States of impersonation tokens.
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<ImpersonationTokenState> for ImpersonationTokenState
impl PartialEq<ImpersonationTokenState> 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 StructuralEq for ImpersonationTokenState
impl StructuralPartialEq for ImpersonationTokenState
Auto Trait Implementations§
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.