pub enum SessionKind {
Browser,
Api,
Service,
Device,
Sso,
Unknown,
}Expand description
Session kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SessionKind
impl Clone for SessionKind
Source§fn clone(&self) -> SessionKind
fn clone(&self) -> SessionKind
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 SessionKind
impl Debug for SessionKind
Source§impl Display for SessionKind
impl Display for SessionKind
Source§impl FromStr for SessionKind
impl FromStr for SessionKind
Source§type Err = AuthnParseError
type Err = AuthnParseError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<SessionKind, <SessionKind as FromStr>::Err>
fn from_str(input: &str) -> Result<SessionKind, <SessionKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SessionKind
impl Hash for SessionKind
Source§impl Ord for SessionKind
impl Ord for SessionKind
Source§fn cmp(&self, other: &SessionKind) -> Ordering
fn cmp(&self, other: &SessionKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SessionKind
impl PartialEq for SessionKind
Source§fn eq(&self, other: &SessionKind) -> bool
fn eq(&self, other: &SessionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SessionKind
impl PartialOrd for SessionKind
impl Copy for SessionKind
impl Eq for SessionKind
impl StructuralPartialEq for SessionKind
Auto Trait Implementations§
impl Freeze for SessionKind
impl RefUnwindSafe for SessionKind
impl Send for SessionKind
impl Sync for SessionKind
impl Unpin for SessionKind
impl UnsafeUnpin for SessionKind
impl UnwindSafe for SessionKind
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