Struct serenity::model::EmbedField [] [src]

pub struct EmbedField {
    pub inline: bool,
    pub name: String,
    pub value: String,
}

A field object in an embed.

Fields

Indicator of whether the field should display as inline.

The name of the field.

The maximum length of this field is 512 unicode codepoints.

The value of the field.

The maxiumum length of this field is 1024 unicode codepoints.

Trait Implementations

impl Clone for EmbedField
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EmbedField
[src]

[src]

Formats the value using the given formatter.