pub struct SessionName(/* private fields */);Expand description
A session’s name. Letters are lowercased, so names that differ only by case are the same name.
Implementations§
Trait Implementations§
Source§impl Clone for SessionName
impl Clone for SessionName
Source§impl Debug for SessionName
impl Debug for SessionName
Source§impl<'de> Deserialize<'de> for SessionName
impl<'de> Deserialize<'de> for SessionName
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
Source§impl Display for SessionName
impl Display for SessionName
impl Eq for SessionName
Source§impl FromStr for SessionName
impl FromStr for SessionName
Source§impl Hash for SessionName
impl Hash for SessionName
Source§impl Ord for SessionName
impl Ord for SessionName
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SessionName
impl PartialEq for SessionName
Source§impl PartialOrd for SessionName
impl PartialOrd for SessionName
Source§impl Serialize for SessionNamewhere
Self: Display,
impl Serialize for SessionNamewhere
Self: Display,
impl StructuralPartialEq for SessionName
Auto Trait Implementations§
impl Freeze for SessionName
impl RefUnwindSafe for SessionName
impl Send for SessionName
impl Sync for SessionName
impl Unpin for SessionName
impl UnsafeUnpin for SessionName
impl UnwindSafe for SessionName
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