pub struct SlackColor(pub String);
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SlackColor
impl AsRef<str> for SlackColor
Source§impl Clone for SlackColor
impl Clone for SlackColor
Source§fn clone(&self) -> SlackColor
fn clone(&self) -> SlackColor
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 SlackColor
impl Debug for SlackColor
Source§impl<'de> Deserialize<'de> for SlackColor
impl<'de> Deserialize<'de> for SlackColor
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 SlackColor
impl Display for SlackColor
Source§impl From<&String> for SlackColor
impl From<&String> for SlackColor
Source§impl From<&str> for SlackColor
impl From<&str> for SlackColor
Source§impl From<String> for SlackColor
impl From<String> for SlackColor
Source§impl FromStr for SlackColor
impl FromStr for SlackColor
Source§impl Hash for SlackColor
impl Hash for SlackColor
Source§impl PartialEq for SlackColor
impl PartialEq for SlackColor
Source§impl Serialize for SlackColor
impl Serialize for SlackColor
Source§impl ValueStruct for SlackColor
impl ValueStruct for SlackColor
impl Eq for SlackColor
impl StructuralPartialEq for SlackColor
Auto Trait Implementations§
impl Freeze for SlackColor
impl RefUnwindSafe for SlackColor
impl Send for SlackColor
impl Sync for SlackColor
impl Unpin for SlackColor
impl UnwindSafe for SlackColor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)