Enum slack_hook::SlackTextContent [−][src]
pub enum SlackTextContent { Text(SlackText), Link(SlackLink), User(SlackUserLink), }
Enum used for constructing a text field having both SlackText
(s) and SlackLink
(s). The
variants should be used together in a Vec
on any function having a Into<SlackText>
trait
bound. The combined text will be space-separated.
Variants
Text(SlackText)
Text that will be escaped via slack api rules
Link(SlackLink)
Link
User(SlackUserLink)
User Link
Trait Implementations
impl Debug for SlackTextContent
[src]
impl Debug for SlackTextContent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SlackTextContent
[src]
impl Clone for SlackTextContent
fn clone(&self) -> SlackTextContent
[src]
fn clone(&self) -> SlackTextContent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SlackTextContent
[src]
impl PartialEq for SlackTextContent
fn eq(&self, other: &SlackTextContent) -> bool
[src]
fn eq(&self, other: &SlackTextContent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SlackTextContent) -> bool
[src]
fn ne(&self, other: &SlackTextContent) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SlackTextContent
impl Send for SlackTextContent
impl Sync for SlackTextContent
impl Sync for SlackTextContent