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: String
Trait 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 ==
.source§impl Serialize for EmbedField
impl Serialize for EmbedField
impl Eq for EmbedField
impl StructuralEq for EmbedField
impl StructuralPartialEq for EmbedField
Auto Trait Implementations§
impl RefUnwindSafe for EmbedField
impl Send for EmbedField
impl Sync for EmbedField
impl Unpin for EmbedField
impl UnwindSafe for EmbedField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more