pub struct ParameterInformation {
pub label: ParameterLabel,
pub documentation: Option<Documentation>,
}
Expand description
Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.
Fields§
§label: ParameterLabel
The label of this parameter information.
Either a string or an inclusive start and exclusive end offsets within its containing signature label. (see SignatureInformation.label). Note: A label of type string must be a substring of its containing signature label.
documentation: Option<Documentation>
The human-readable doc-comment of this parameter. Will be shown in the UI but can be omitted.
Trait Implementations§
source§impl Debug for ParameterInformation
impl Debug for ParameterInformation
source§impl<'de> Deserialize<'de> for ParameterInformation
impl<'de> Deserialize<'de> for ParameterInformation
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