Struct debugserver_types::Message [] [src]

pub struct Message {
    pub format: String,
    pub id: i64,
    pub send_telemetry: Option<bool>,
    pub show_user: Option<bool>,
    pub url: Option<String>,
    pub url_label: Option<String>,
    pub variables: Option<BTreeMap<String, String>>,
}

A structured message object. Used to return errors from requests.

Fields

A format string for the message. Embedded variables have the form '{name}'. If variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes.

Unique identifier for the message.

If true send to telemetry.

If true show user.

An optional url where additional information about this message can be found.

An optional label that is presented to the user as the UI for opening the url.

An object used as a dictionary for looking up the variables in the format string.

Trait Implementations

impl Clone for Message
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Message
[src]

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

This method tests for !=.

impl Debug for Message
[src]

Formats the value using the given formatter.