Expand description
Associated data about a session key.
Variants
Null
Null value
Bool(bool)
Boolean value.
Integer(i64)
Integer value.
IpAddr(IpAddr)
IP address value.
String(String)
String value.
Trait Implementations
sourceimpl Clone for SessionValue
impl Clone for SessionValue
sourcefn clone(&self) -> SessionValue
fn clone(&self) -> SessionValue
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SessionValue
impl Debug for SessionValue
sourceimpl Display for SessionValue
impl Display for SessionValue
sourceimpl Hash for SessionValue
impl Hash for SessionValue
sourceimpl Ord for SessionValue
impl Ord for SessionValue
sourcefn cmp(&self, other: &SessionValue) -> Ordering
fn cmp(&self, other: &SessionValue) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SessionValue> for SessionValue
impl PartialEq<SessionValue> for SessionValue
sourcefn eq(&self, other: &SessionValue) -> bool
fn eq(&self, other: &SessionValue) -> bool
sourceimpl PartialOrd<SessionValue> for SessionValue
impl PartialOrd<SessionValue> for SessionValue
sourcefn partial_cmp(&self, other: &SessionValue) -> Option<Ordering>
fn partial_cmp(&self, other: &SessionValue) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SessionValue
impl StructuralEq for SessionValue
impl StructuralPartialEq for SessionValue
Auto Trait Implementations
impl RefUnwindSafe for SessionValue
impl Send for SessionValue
impl Sync for SessionValue
impl Unpin for SessionValue
impl UnwindSafe for SessionValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more