pub enum SystemContent {
Text(String),
Blocks(Vec<TypedText>),
}Expand description
string | TextContent[].
Variants§
Trait Implementations§
Source§impl Clone for SystemContent
impl Clone for SystemContent
Source§impl Debug for SystemContent
impl Debug for SystemContent
Source§impl<'de> Deserialize<'de> for SystemContent
impl<'de> Deserialize<'de> for SystemContent
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 PartialEq for SystemContent
impl PartialEq for SystemContent
Source§impl Serialize for SystemContent
impl Serialize for SystemContent
impl StructuralPartialEq for SystemContent
Auto Trait Implementations§
impl Forget for SystemContent
impl Freeze for SystemContent
impl Move for SystemContent
impl RefUnwindSafe for SystemContent
impl Send for SystemContent
impl Sync for SystemContent
impl Unpin for SystemContent
impl UnsafeUnpin for SystemContent
impl UnwindSafe for SystemContent
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