Struct envuse_parser::parser::ast::Variable
source · pub struct Variable {
pub span: Span,
pub comment: Box<Option<Expression>>,
pub name: String,
pub variable_type: Option<String>,
pub options_variable_type: Option<BTreeMap<String, Option<Expression>>>,
pub default_value: Box<Option<Expression>>,
pub nullable: bool,
}
Fields§
§span: Span
§comment: Box<Option<Expression>>
§name: String
§variable_type: Option<String>
§options_variable_type: Option<BTreeMap<String, Option<Expression>>>
§default_value: Box<Option<Expression>>
§nullable: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Variable
impl<'de> Deserialize<'de> for Variable
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