pub enum LogoutScope {
CurrentSession,
SessionFamily,
}Expand description
The requested scope of a logout operation.
Variants§
CurrentSession
Revoke only the current session.
SessionFamily
Revoke every session that belongs to the same session family.
Trait Implementations§
Source§impl Clone for LogoutScope
impl Clone for LogoutScope
Source§fn clone(&self) -> LogoutScope
fn clone(&self) -> LogoutScope
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 LogoutScope
impl Debug for LogoutScope
Source§impl Hash for LogoutScope
impl Hash for LogoutScope
Source§impl PartialEq for LogoutScope
impl PartialEq for LogoutScope
Source§fn eq(&self, other: &LogoutScope) -> bool
fn eq(&self, other: &LogoutScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LogoutScope
impl Eq for LogoutScope
impl StructuralPartialEq for LogoutScope
Auto Trait Implementations§
impl Freeze for LogoutScope
impl RefUnwindSafe for LogoutScope
impl Send for LogoutScope
impl Sync for LogoutScope
impl Unpin for LogoutScope
impl UnsafeUnpin for LogoutScope
impl UnwindSafe for LogoutScope
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