Struct twilight_model::channel::message::embed::EmbedField
source · pub struct EmbedField {
pub inline: bool,
pub name: String,
pub value: String,
}Fields§
§inline: bool§name: String§value: StringTrait Implementations§
source§impl Clone for EmbedField
impl Clone for EmbedField
source§fn clone(&self) -> EmbedField
fn clone(&self) -> EmbedField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EmbedField
impl Debug for EmbedField
source§impl<'de> Deserialize<'de> for EmbedField
impl<'de> Deserialize<'de> for EmbedField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EmbedField
impl Hash for EmbedField
source§impl PartialEq<EmbedField> for EmbedField
impl PartialEq<EmbedField> for EmbedField
source§fn eq(&self, other: &EmbedField) -> bool
fn eq(&self, other: &EmbedField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.