Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/Command/Hover/Interface/
HoverContent.rs

1//! Tagged hover content payload. Plain-text and Markdown are the
2//! common shapes; `Markup` carries an optional language hint for
3//! syntax-highlighted code blocks.
4
5use serde::{Deserialize, Serialize};
6
7#[derive(Debug, Clone, Serialize, Deserialize)]
8#[serde(tag = "kind", content = "value")]
9pub enum Enum {
10	PlainText(String),
11
12	Markdown(String),
13
14	Markup { value:String, language:Option<String> },
15}