pub enum VsCodeContent {
Text(String),
Blocks(Vec<VsCodeContentBlock>),
}Expand description
Content in VS Code extension API format.
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for VsCodeContent
impl Debug for VsCodeContent
Source§impl<'de> Deserialize<'de> for VsCodeContent
impl<'de> Deserialize<'de> for VsCodeContent
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 Freeze for VsCodeContent
impl RefUnwindSafe for VsCodeContent
impl Send for VsCodeContent
impl Sync for VsCodeContent
impl Unpin for VsCodeContent
impl UnwindSafe for VsCodeContent
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