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

pub struct CreateEmbedField(pub ObjectBuilder);

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]

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

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

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

Trait Implementations

impl Default for CreateEmbedField
[src]

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