pub fn as_slack_msg(&self) -> String {
        let mut msg = format!("{} (_*{}*_) <{}|github> <{}|rendered>", self.name, self.state, self.short_link, self.rendered_link);

        if !self.discussion.is_empty() {
            msg += &format!(" <{}|discussion>", self.discussion);
        }

        msg
    }
/// Convert an RFD into JSON as Slack message.
// TODO: make this include more fields
Convert an RFD into JSON as Slack message.
TODO: make this include more fields
Convert an RFD into JSON as Slack message . TODO : make this include more fields
pub fn as_slack_msg(&self) -> String {
        let mut msg = format!("{} (_*{}*_) <{}|github> <{}|rendered>", self.name, self.state, self.short_link, self.rendered_link);
        if !self.discussion.is_empty() {
            msg += &format!(" <{}|discussion>", self.discussion);
        }
        msg
    }
pub fn as_slack_msg ( & self ) -> String { let mut msg = format ! ( " " self name self state self short_link self rendered_link ) ; if ! self . discussion . is_empty ( ) { msg += & format ! ( " " self discussion ) ; } msg }
Convert an RFD into JSON as Slack message.
Convert an RFD into JSON as Slack message .
&self
&self