Struct serenity::builder::CreateEmbedField [] [src]

pub struct CreateEmbedField(pub Map<String, Value>);

A builder to create a fake Embed object's field, for use with the CreateEmbed::field method.

This does not require any field be set. inline is set to true by default.

Methods

impl CreateEmbedField
[src]

[src]

Set whether the field is inlined. Set to true by default.

[src]

Set the field's name. It can't be longer than 256 characters.

[src]

Set the field's value. It can't be longer than 1024 characters.

Trait Implementations

impl Clone for CreateEmbedField
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateEmbedField
[src]

[src]

Formats the value using the given formatter.

impl Default for CreateEmbedField
[src]

[src]

Creates a builder with default values, setting the value of inline to true.