Struct slack_hook::SlackLink [−][src]
Representation of a link sent in slack
Fields
url: String
URL for link.
NOTE: this is NOT a Url
type because some of the slack "urls", don't conform to standard
url parsing scheme, which are enforced by the url
crate.
text: SlackText
Anchor text for link
Methods
impl SlackLink
[src]
impl SlackLink
Trait Implementations
impl Debug for SlackLink
[src]
impl Debug for SlackLink
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 SlackLink
[src]
impl Clone for SlackLink
fn clone(&self) -> SlackLink
[src]
fn clone(&self) -> SlackLink
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 SlackLink
[src]
impl PartialEq for SlackLink
fn eq(&self, other: &SlackLink) -> bool
[src]
fn eq(&self, other: &SlackLink) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SlackLink) -> bool
[src]
fn ne(&self, other: &SlackLink) -> bool
This method tests for !=
.
impl Display for SlackLink
[src]
impl Display for SlackLink
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 Serialize for SlackLink
[src]
impl Serialize for SlackLink