pub struct MessageName(/* private fields */);Available on crate feature
unstable only.Expand description
§Availability
This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Trait Implementations§
Source§impl Clone for MessageName
impl Clone for MessageName
Source§fn clone(&self) -> MessageName
fn clone(&self) -> MessageName
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageName
impl Debug for MessageName
Source§impl Default for MessageName
impl Default for MessageName
Source§fn default() -> MessageName
fn default() -> MessageName
Returns the “default value” for a type. Read more
Source§impl Display for MessageName
impl Display for MessageName
Source§impl From<&MessageName> for Cow<'static, str>
impl From<&MessageName> for Cow<'static, str>
Source§fn from(name: &MessageName) -> Self
fn from(name: &MessageName) -> Self
Converts to this type from the input type.
Source§impl From<&'static str> for MessageName
impl From<&'static str> for MessageName
Source§impl From<MessageName> for Cow<'static, str>
Useful for metrics.
impl From<MessageName> for Cow<'static, str>
Useful for metrics.
Source§fn from(name: MessageName) -> Self
fn from(name: MessageName) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageName
impl Hash for MessageName
Source§impl<'a> PartialEq<&'a str> for MessageName
impl<'a> PartialEq<&'a str> for MessageName
Source§impl PartialEq<MessageName> for &str
impl PartialEq<MessageName> for &str
Source§impl PartialEq for MessageName
impl PartialEq for MessageName
impl Eq for MessageName
impl StructuralPartialEq for MessageName
Auto Trait Implementations§
impl Freeze for MessageName
impl RefUnwindSafe for MessageName
impl Send for MessageName
impl Sync for MessageName
impl Unpin for MessageName
impl UnwindSafe for MessageName
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