Enum kv_cab::Value [] [src]

pub enum Value {
    String(String),
    Int(i32),
    Float(f32),
    Map(HashMap<String, Value>),
    List(Vec<Value>),
}

A default value type to use with KV

Variants

Cab default Value type for strings

Cab default Value type for intergers

Cab default Value type for floats

Cab default Value type for a sub map

Cab default Value type for list

Trait Implementations

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Value
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Value
[src]

Formats the value using the given formatter.