Content

Type Alias Content 

Source
pub type Content = Value;

Aliased Type§

pub enum Content {
    Integer(Integer),
    Bytes(Vec<u8>),
    Float(f64),
    Text(String),
    Bool(bool),
    Null,
    Tag(u64, Box<Value>),
    Array(Vec<Value>),
    Map(Vec<(Value, Value)>),
}

Variants§

§

Integer(Integer)

An integer

§

Bytes(Vec<u8>)

Bytes

§

Float(f64)

A float

§

Text(String)

A string

§

Bool(bool)

A boolean

§

Null

Null

§

Tag(u64, Box<Value>)

Tag

§

Array(Vec<Value>)

An array

§

Map(Vec<(Value, Value)>)

A map