1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use super::{MarkedString, MarkupContent, Range};
use jsonrpc::Union3;

/// The result of a hover request.
#[derive(Debug, Serialize)]
pub struct Hover {
    /// The hover's content
    pub contents: Union3<MarkupContent, MarkedString, Vec<MarkedString>>,

    /// An optional range
    pub range: Option<Range>,
}