pub struct MessageIdLocal(/* private fields */);Expand description
Message-ID local part.
Implementations§
Source§impl MessageIdLocal
impl MessageIdLocal
Sourcepub fn new(value: impl AsRef<str>) -> Result<MessageIdLocal, MessageIdError>
pub fn new(value: impl AsRef<str>) -> Result<MessageIdLocal, MessageIdError>
Creates a message-id local part.
Trait Implementations§
Source§impl Clone for MessageIdLocal
impl Clone for MessageIdLocal
Source§fn clone(&self) -> MessageIdLocal
fn clone(&self) -> MessageIdLocal
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 MessageIdLocal
impl Debug for MessageIdLocal
Source§impl Display for MessageIdLocal
impl Display for MessageIdLocal
Source§impl FromStr for MessageIdLocal
impl FromStr for MessageIdLocal
Source§type Err = MessageIdError
type Err = MessageIdError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MessageIdLocal, <MessageIdLocal as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MessageIdLocal, <MessageIdLocal as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MessageIdLocal
impl Hash for MessageIdLocal
Source§impl Ord for MessageIdLocal
impl Ord for MessageIdLocal
Source§fn cmp(&self, other: &MessageIdLocal) -> Ordering
fn cmp(&self, other: &MessageIdLocal) -> 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 MessageIdLocal
impl PartialEq for MessageIdLocal
Source§fn eq(&self, other: &MessageIdLocal) -> bool
fn eq(&self, other: &MessageIdLocal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MessageIdLocal
impl PartialOrd for MessageIdLocal
impl Eq for MessageIdLocal
impl StructuralPartialEq for MessageIdLocal
Auto Trait Implementations§
impl Freeze for MessageIdLocal
impl RefUnwindSafe for MessageIdLocal
impl Send for MessageIdLocal
impl Sync for MessageIdLocal
impl Unpin for MessageIdLocal
impl UnsafeUnpin for MessageIdLocal
impl UnwindSafe for MessageIdLocal
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