Struct commodore::Response [] [src]

pub struct Response {
    pub text: Option<String>,
    pub response_type: String,
    pub attachments: Vec<Attachment>,
}

Fields

Methods

impl Response
[src]

returned a response which will displayed for the user that issued the command for formatting rules see this doc

return a response which will be displayed for anyone in the channel for formatting rules see this doc

returns a builder interfaces for constructing instances of responses

Trait Implementations

impl Default for Response
[src]

Returns the "default value" for a type. Read more

impl Debug for Response
[src]

Formats the value using the given formatter.