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 for EmbedField
impl PartialEq for EmbedField
source§impl Serialize for EmbedField
impl Serialize for EmbedField
impl Eq for EmbedField
impl StructuralPartialEq for EmbedField
Auto Trait Implementations§
impl Freeze for EmbedField
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)