Struct slack_morphism::prelude::SlackColor
source · 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§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 ==
.source§impl Serialize for SlackColor
impl Serialize for SlackColor
source§impl ValueStruct for SlackColor
impl ValueStruct for SlackColor
impl Eq for SlackColor
impl StructuralEq for SlackColor
impl StructuralPartialEq for SlackColor
Auto Trait Implementations§
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