Enum unison::Value [] [src]

pub enum Value {
    String(String),
    U64(u64),
    I64(i64),
    F64(f64),
    Bool(bool),
    Vec(Vec<Value>),
    HashMap(HashMap<String, Value>),
    None,
}

Value is an enum that can contain any primitive value except for tuples

Variants

Methods

impl Value
[src]

[src]

impl Value
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl From<JsonValue> for Value
[src]

[src]

Performs the conversion.

impl From<TomlValue> for Value
[src]

[src]

Performs the conversion.

impl<'a> From<YamlValue> for Value
[src]

[src]

Performs the conversion.

impl Debug for Value
[src]

[src]

Formats the value using the given formatter.