pub struct EmbedField<'a> {
pub name: TitanString<'a>,
pub value: TitanString<'a>,
pub inline: bool,
}Expand description
Embed field.
Fields§
§name: TitanString<'a>Field name.
value: TitanString<'a>Field value.
inline: boolWhether inline.
Trait Implementations§
Source§impl<'a> Clone for EmbedField<'a>
impl<'a> Clone for EmbedField<'a>
Source§fn clone(&self) -> EmbedField<'a>
fn clone(&self) -> EmbedField<'a>
Returns a duplicate 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<'a> Debug for EmbedField<'a>
impl<'a> Debug for EmbedField<'a>
Source§impl<'de, 'a> Deserialize<'de> for EmbedField<'a>
impl<'de, 'a> Deserialize<'de> for EmbedField<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for EmbedField<'a>
impl<'a> RefUnwindSafe for EmbedField<'a>
impl<'a> Send for EmbedField<'a>
impl<'a> Sync for EmbedField<'a>
impl<'a> Unpin for EmbedField<'a>
impl<'a> UnwindSafe for EmbedField<'a>
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