pub struct SessionRecordId(/* private fields */);Implementations§
Source§impl SessionRecordId
impl SessionRecordId
pub fn new( value: impl Into<String>, ) -> Result<SessionRecordId, NodeIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl AsRef<str> for SessionRecordId
impl AsRef<str> for SessionRecordId
Source§impl Borrow<str> for SessionRecordId
impl Borrow<str> for SessionRecordId
Source§impl Clone for SessionRecordId
impl Clone for SessionRecordId
Source§fn clone(&self) -> SessionRecordId
fn clone(&self) -> SessionRecordId
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 SessionRecordId
impl Debug for SessionRecordId
Source§impl<'de> Deserialize<'de> for SessionRecordId
impl<'de> Deserialize<'de> for SessionRecordId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<SessionRecordId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SessionRecordId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SessionRecordId
impl Display for SessionRecordId
impl Eq for SessionRecordId
Source§impl FromStr for SessionRecordId
impl FromStr for SessionRecordId
Source§type Err = NodeIdentifierError
type Err = NodeIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<SessionRecordId, <SessionRecordId as FromStr>::Err>
fn from_str( value: &str, ) -> Result<SessionRecordId, <SessionRecordId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SessionRecordId
impl Hash for SessionRecordId
Source§impl Ord for SessionRecordId
impl Ord for SessionRecordId
Source§fn cmp(&self, other: &SessionRecordId) -> Ordering
fn cmp(&self, other: &SessionRecordId) -> 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
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 SessionRecordId
impl PartialEq for SessionRecordId
Source§impl PartialOrd for SessionRecordId
impl PartialOrd for SessionRecordId
Source§impl Serialize for SessionRecordId
impl Serialize for SessionRecordId
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SessionRecordId
Auto Trait Implementations§
impl Freeze for SessionRecordId
impl RefUnwindSafe for SessionRecordId
impl Send for SessionRecordId
impl Sync for SessionRecordId
impl Unpin for SessionRecordId
impl UnsafeUnpin for SessionRecordId
impl UnwindSafe for SessionRecordId
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