Enum caminos_lib::config_parser::ConfigurationValue [−][src]
pub enum ConfigurationValue {
Literal(String),
Number(f64),
Object(String, Vec<(String, ConfigurationValue)>),
Array(Vec<ConfigurationValue>),
Experiments(Vec<ConfigurationValue>),
NamedExperiments(String, Vec<ConfigurationValue>),
True,
False,
Where(Rc<ConfigurationValue>, Expr),
Expression(Expr),
None,
}
Variants
Literal(String)
Tuple Fields of Literal
0: String
Number(f64)
Tuple Fields of Number
0: f64
Array(Vec<ConfigurationValue>)
Tuple Fields of Array
Experiments(Vec<ConfigurationValue>)
Tuple Fields of Experiments
NamedExperiments(String, Vec<ConfigurationValue>)
Tuple Fields of NamedExperiments
0: String
1: Vec<ConfigurationValue>
Where(Rc<ConfigurationValue>, Expr)
Tuple Fields of Where
0: Rc<ConfigurationValue>
1: Expr
Expression(Expr)
Tuple Fields of Expression
0: Expr
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ConfigurationValue
impl !Send for ConfigurationValue
impl !Sync for ConfigurationValue
impl Unpin for ConfigurationValue
impl !UnwindSafe for ConfigurationValue
Blanket Implementations
Mutably borrows from an owned value. Read more