pub struct SlackEmojiName(pub String);
Expand description
Represent a Slack custom emoji name without the leading :
and trailing :
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SlackEmojiName
impl AsRef<str> for SlackEmojiName
Source§impl Clone for SlackEmojiName
impl Clone for SlackEmojiName
Source§fn clone(&self) -> SlackEmojiName
fn clone(&self) -> SlackEmojiName
Returns a copy 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 SlackEmojiName
impl Debug for SlackEmojiName
Source§impl<'de> Deserialize<'de> for SlackEmojiName
impl<'de> Deserialize<'de> for SlackEmojiName
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 SlackEmojiName
impl Display for SlackEmojiName
Source§impl From<&String> for SlackEmojiName
impl From<&String> for SlackEmojiName
Source§impl From<&str> for SlackEmojiName
impl From<&str> for SlackEmojiName
Source§impl From<String> for SlackEmojiName
impl From<String> for SlackEmojiName
Source§impl FromStr for SlackEmojiName
impl FromStr for SlackEmojiName
Source§impl Hash for SlackEmojiName
impl Hash for SlackEmojiName
Source§impl PartialEq for SlackEmojiName
impl PartialEq for SlackEmojiName
Source§impl Serialize for SlackEmojiName
impl Serialize for SlackEmojiName
Source§impl ValueStruct for SlackEmojiName
impl ValueStruct for SlackEmojiName
impl Eq for SlackEmojiName
impl StructuralPartialEq for SlackEmojiName
Auto Trait Implementations§
impl Freeze for SlackEmojiName
impl RefUnwindSafe for SlackEmojiName
impl Send for SlackEmojiName
impl Sync for SlackEmojiName
impl Unpin for SlackEmojiName
impl UnwindSafe for SlackEmojiName
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