Struct slack_hook::SlackLink [] [src]

pub struct SlackLink {
    pub url: String,
    pub text: SlackText,
}

Representation of a link sent in slack

Fields

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.

Anchor text for link

Methods

impl SlackLink
[src]

Construct new SlackLink with string slices

Trait Implementations

impl Debug for SlackLink
[src]

Formats the value using the given formatter.

impl Display for SlackLink
[src]

Formats the value using the given formatter. Read more

impl Serialize for SlackLink
[src]

Serialize this value into the given Serde serializer. Read more