pub struct HaTextContent(pub Vec<HaTextFragment>);Tuple Fields§
§0: Vec<HaTextFragment>Implementations§
Trait Implementations§
source§impl Clone for HaTextContent
impl Clone for HaTextContent
source§fn clone(&self) -> HaTextContent
fn clone(&self) -> HaTextContent
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 HaTextContent
impl Debug for HaTextContent
source§impl Default for HaTextContent
impl Default for HaTextContent
source§fn default() -> HaTextContent
fn default() -> HaTextContent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HaTextContent
impl<'de> Deserialize<'de> for HaTextContent
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 From<HaRichTextBuilder> for HaTextContent
impl From<HaRichTextBuilder> for HaTextContent
source§fn from(other: HaRichTextBuilder) -> Self
fn from(other: HaRichTextBuilder) -> Self
Converts to this type from the input type.
source§impl PartialEq<HaTextContent> for HaTextContent
impl PartialEq<HaTextContent> for HaTextContent
source§fn eq(&self, other: &HaTextContent) -> bool
fn eq(&self, other: &HaTextContent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HaTextContent
impl Serialize for HaTextContent
impl StructuralPartialEq for HaTextContent
Auto Trait Implementations§
impl RefUnwindSafe for HaTextContent
impl Send for HaTextContent
impl Sync for HaTextContent
impl Unpin for HaTextContent
impl UnwindSafe for HaTextContent
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more