pub enum SlackEmojiRef {
Url(Url),
Alias(SlackEmojiName),
}
Variants§
Url(Url)
Alias(SlackEmojiName)
Trait Implementations§
Source§impl Clone for SlackEmojiRef
impl Clone for SlackEmojiRef
Source§fn clone(&self) -> SlackEmojiRef
fn clone(&self) -> SlackEmojiRef
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 SlackEmojiRef
impl Debug for SlackEmojiRef
Source§impl<'de> Deserialize<'de> for SlackEmojiRef
impl<'de> Deserialize<'de> for SlackEmojiRef
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 Hash for SlackEmojiRef
impl Hash for SlackEmojiRef
Source§impl PartialEq for SlackEmojiRef
impl PartialEq for SlackEmojiRef
Source§impl Serialize for SlackEmojiRef
impl Serialize for SlackEmojiRef
impl Eq for SlackEmojiRef
impl StructuralPartialEq for SlackEmojiRef
Auto Trait Implementations§
impl Freeze for SlackEmojiRef
impl RefUnwindSafe for SlackEmojiRef
impl Send for SlackEmojiRef
impl Sync for SlackEmojiRef
impl Unpin for SlackEmojiRef
impl UnwindSafe for SlackEmojiRef
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