pub struct AiMessageId(/* private fields */);Implementations§
Source§impl AiMessageId
impl AiMessageId
Trait Implementations§
Source§impl AsRef<str> for AiMessageId
impl AsRef<str> for AiMessageId
Source§impl Clone for AiMessageId
impl Clone for AiMessageId
Source§fn clone(&self) -> AiMessageId
fn clone(&self) -> AiMessageId
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 AiMessageId
impl Debug for AiMessageId
Source§impl Display for AiMessageId
impl Display for AiMessageId
Source§impl FromStr for AiMessageId
impl FromStr for AiMessageId
Source§type Err = AiMessageError
type Err = AiMessageError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<AiMessageId, <AiMessageId as FromStr>::Err>
fn from_str(value: &str) -> Result<AiMessageId, <AiMessageId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AiMessageId
impl Hash for AiMessageId
Source§impl Ord for AiMessageId
impl Ord for AiMessageId
Source§fn cmp(&self, other: &AiMessageId) -> Ordering
fn cmp(&self, other: &AiMessageId) -> 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 AiMessageId
impl PartialEq for AiMessageId
Source§fn eq(&self, other: &AiMessageId) -> bool
fn eq(&self, other: &AiMessageId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AiMessageId
impl PartialOrd for AiMessageId
Source§impl TryFrom<&str> for AiMessageId
impl TryFrom<&str> for AiMessageId
Source§type Error = AiMessageError
type Error = AiMessageError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &str,
) -> Result<AiMessageId, <AiMessageId as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<AiMessageId, <AiMessageId as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for AiMessageId
impl StructuralPartialEq for AiMessageId
Auto Trait Implementations§
impl Freeze for AiMessageId
impl RefUnwindSafe for AiMessageId
impl Send for AiMessageId
impl Sync for AiMessageId
impl Unpin for AiMessageId
impl UnsafeUnpin for AiMessageId
impl UnwindSafe for AiMessageId
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