pub struct HtmlPart {
pub html: String,
}Expand description
A body written in HTML, such as an email’s. Chat UIs draw it as it is; models read its text.
Fields§
§html: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for HtmlPart
impl<'de> Deserialize<'de> for HtmlPart
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
impl StructuralPartialEq for HtmlPart
Auto Trait Implementations§
impl Forget for HtmlPart
impl Freeze for HtmlPart
impl Move for HtmlPart
impl RefUnwindSafe for HtmlPart
impl Send for HtmlPart
impl Sync for HtmlPart
impl Unpin for HtmlPart
impl UnsafeUnpin for HtmlPart
impl UnwindSafe for HtmlPart
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