Enum kv_cab::Value [] [src]

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

A default value type to use with KV

Variants

Trait Implementations

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Value
[src]

Serialize a value using an Encoder.

impl Decodable for Value
[src]

Deserialize a value using a Decoder.

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.