Struct serenity::model::EmbedField
[−]
[src]
pub struct EmbedField {
pub inline: bool,
pub name: String,
pub value: String,
}A field object in an embed.
Fields
inline: bool
Indicator of whether the field should display as inline.
name: String
The name of the field.
The maximum length of this field is 512 unicode codepoints.
value: String
The value of the field.
The maxiumum length of this field is 1024 unicode codepoints.
Trait Implementations
impl Clone for EmbedField[src]
fn clone(&self) -> EmbedField[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more