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. Read more

impl Clone for SlackLink
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SlackLink
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Auto Trait Implementations

impl Send for SlackLink

impl Sync for SlackLink