Struct slack_morphism::prelude::SlackColor
source · pub struct SlackColor(pub String);Tuple Fields§
§0: StringImplementations§
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<SlackColor> for SlackColor
impl PartialEq<SlackColor> for SlackColor
source§fn eq(&self, other: &SlackColor) -> bool
fn eq(&self, other: &SlackColor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.