Struct slack_morphism::SlackMimeType
source · pub struct SlackMimeType(pub String);
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl AsRef<str> for SlackMimeType
impl AsRef<str> for SlackMimeType
source§impl Clone for SlackMimeType
impl Clone for SlackMimeType
source§fn clone(&self) -> SlackMimeType
fn clone(&self) -> SlackMimeType
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 SlackMimeType
impl Debug for SlackMimeType
source§impl<'de> Deserialize<'de> for SlackMimeType
impl<'de> Deserialize<'de> for SlackMimeType
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 SlackMimeType
impl Display for SlackMimeType
source§impl From<&String> for SlackMimeType
impl From<&String> for SlackMimeType
source§impl From<&str> for SlackMimeType
impl From<&str> for SlackMimeType
source§impl From<String> for SlackMimeType
impl From<String> for SlackMimeType
source§impl FromStr for SlackMimeType
impl FromStr for SlackMimeType
source§impl Hash for SlackMimeType
impl Hash for SlackMimeType
source§impl PartialEq for SlackMimeType
impl PartialEq for SlackMimeType
source§fn eq(&self, other: &SlackMimeType) -> bool
fn eq(&self, other: &SlackMimeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackMimeType
impl Serialize for SlackMimeType
source§impl ValueStruct for SlackMimeType
impl ValueStruct for SlackMimeType
impl Eq for SlackMimeType
impl StructuralEq for SlackMimeType
impl StructuralPartialEq for SlackMimeType
Auto Trait Implementations§
impl RefUnwindSafe for SlackMimeType
impl Send for SlackMimeType
impl Sync for SlackMimeType
impl Unpin for SlackMimeType
impl UnwindSafe for SlackMimeType
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