pub enum LogoutRange {
Token,
Account,
}Expand description
Logout range for [AuthService::logout] / default config.
[AuthService::logout] / 默认配置使用的登出范围。
Variants§
Trait Implementations§
Source§impl Clone for LogoutRange
impl Clone for LogoutRange
Source§fn clone(&self) -> LogoutRange
fn clone(&self) -> LogoutRange
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 LogoutRange
Source§impl Debug for LogoutRange
impl Debug for LogoutRange
Source§impl Default for LogoutRange
impl Default for LogoutRange
Source§fn default() -> LogoutRange
fn default() -> LogoutRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogoutRange
impl<'de> Deserialize<'de> for LogoutRange
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
impl Eq for LogoutRange
Source§impl PartialEq for LogoutRange
impl PartialEq for LogoutRange
Source§impl Serialize for LogoutRange
impl Serialize for LogoutRange
impl StructuralPartialEq for LogoutRange
Auto Trait Implementations§
impl Freeze for LogoutRange
impl RefUnwindSafe for LogoutRange
impl Send for LogoutRange
impl Sync for LogoutRange
impl Unpin for LogoutRange
impl UnsafeUnpin for LogoutRange
impl UnwindSafe for LogoutRange
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